More meaningful error messages

Suggested by @Marcono1234
This commit is contained in:
Nils Bergmann 2021-12-31 14:04:51 +01:00
parent 8ba3fe33f3
commit 9c10a7adef
No known key found for this signature in database
GPG Key ID: 5FAEC08EE1DC2DF9

View File

@ -13,7 +13,7 @@ services:
- DATABASE_PASSWORD=${MARIADB_PASSWORD:-darkflame} - DATABASE_PASSWORD=${MARIADB_PASSWORD:-darkflame}
- EXTERNAL_IP=${EXTERNAL_IP:-darkflame} - EXTERNAL_IP=${EXTERNAL_IP:-darkflame}
volumes: volumes:
- ${CLIENT_PATH:?err}:/client - ${CLIENT_PATH:?missing_client_path}:/client
- shared_configs:/docker/ - shared_configs:/docker/
database: database:
@ -45,7 +45,7 @@ services:
- BUILD_THREADS=${BUILD_THREADS:-1} - BUILD_THREADS=${BUILD_THREADS:-1}
- BUILD_VERSION=${BUILD_VERSION:-171022} - BUILD_VERSION=${BUILD_VERSION:-171022}
volumes: volumes:
- ${CLIENT_PATH:?err}:/client - ${CLIENT_PATH:?missing_client_path}:/client
- shared_configs:/shared_configs - shared_configs:/shared_configs
depends_on: depends_on:
- database - database
@ -83,7 +83,7 @@ services:
- DATABASE_HOST=database - DATABASE_HOST=database
- DATABASE_USER=${MARIADB_USER:-darkflame} - DATABASE_USER=${MARIADB_USER:-darkflame}
- DATABASE_PASSWORD=${MARIADB_PASSWORD:-darkflame} - DATABASE_PASSWORD=${MARIADB_PASSWORD:-darkflame}
- ACCOUNT_SECRET=${ACCOUNT_MANAGER_SECRET:?err} - ACCOUNT_SECRET=${ACCOUNT_MANAGER_SECRET:?missing_account_secret}
ports: ports:
- 5000:5000 - 5000:5000
healthcheck: healthcheck: