Change format of environment variables in compose files

This commit is contained in:
2025-09-28 19:37:56 +02:00
parent b5d9b62ea9
commit a4151877d4
3 changed files with 24 additions and 24 deletions

View File

@@ -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