Change format of environment variables in compose files
This commit is contained in:
@@ -11,11 +11,11 @@ services:
|
||||
nextcloud_redis:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- POSTGRES_HOST=nextcloud_db
|
||||
- POSTGRES_DB=nextcloud
|
||||
- POSTGRES_USER=nextcloud
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- REDIS_HOST=nextcloud_redis
|
||||
POSTGRES_HOST: nextcloud_db
|
||||
POSTGRES_DB: nextcloud
|
||||
POSTGRES_USER: nextcloud
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
REDIS_HOST: nextcloud_redis
|
||||
healthcheck:
|
||||
test: curl -f http://localhost/status.php || exit 1
|
||||
interval: 30s
|
||||
@@ -33,9 +33,9 @@ services:
|
||||
container_name: nextcloud_db
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_DB=nextcloud
|
||||
- POSTGRES_USER=nextcloud
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
POSTGRES_DB: nextcloud
|
||||
POSTGRES_USER: nextcloud
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
healthcheck:
|
||||
test: pg_isready
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user