diff --git a/verlihub/README.md b/verlihub/README.md index f792c80..13b3055 100644 --- a/verlihub/README.md +++ b/verlihub/README.md @@ -19,7 +19,7 @@ This image is configured using environment variables and Docker secrets. |`VH_MYSQL_USER`|❌|The username of the database user with full permissions over the `MYSQL_DB_NAME` database (defaults to `verlihub`)| |`VH_HUB_CONFIG_DIR`|❌|The directory where Verlihub stores configuration data (defaults to `/opt/verlihub/.config/verlihub`)| |`VH_HUB_HOST`|✅|The hostname of the Verlihub server| -|`VH_HUB_PORT`|❌|The port that the Verlihub server runs on (defaults to `411` when `NET_BIND_SERVICE` capability is added, otherwise `4111`)| +|`VH_HUB_PORT`|❌|The port that the Verlihub server runs on (defaults to `4111`)| |`VH_HUB_NAME`|❌|The name of the Verlihub server (defaults to `Verlihub`)| |`VH_HUB_MASTER_NAME`|✅|The username of the master user on the Verlihub server| diff --git a/verlihub/docker-compose.yaml b/verlihub/docker-compose.yaml index adc9707..08f9bfc 100644 --- a/verlihub/docker-compose.yaml +++ b/verlihub/docker-compose.yaml @@ -4,8 +4,6 @@ services: build: context: . dockerfile: Dockerfile - cap_add: - - NET_BIND_SERVICE container_name: verlihub depends_on: verlihub-mysql: @@ -64,6 +62,6 @@ secrets: file: secrets/VH_HUB_MASTER_PASSWORD volumes: verlihub-data: - name: verlihub-data + name: verlihub_data verlihub-mysql-data: - name: verlihub-mysql-data + name: verlihub-mysql_data diff --git a/verlihub/scripts/setup.py b/verlihub/scripts/setup.py index 7272fbf..ce48fb7 100644 --- a/verlihub/scripts/setup.py +++ b/verlihub/scripts/setup.py @@ -70,7 +70,7 @@ def generate_config_file(file_path): 'VH_HUB_CONFIG_DIR', '/opt/verlihub/.config/verlihub' ).rstrip('/') VH_HUB_HOST = os.environ['VH_HUB_HOST'] - VH_HUB_PORT = os.environ.get('VH_HUB_PORT', '411') + VH_HUB_PORT = os.environ.get('VH_HUB_PORT', '4111') VH_HUB_NAME = os.environ.get('VH_HUB_NAME', 'Verlihub') VH_HUB_MASTER_NAME = os.environ['VH_HUB_MASTER_NAME'] try: