Fix Synology compose env file

This commit is contained in:
DCCONSTRUCTIONS
2026-07-06 00:43:10 +03:00
parent 43a96c9f7f
commit 22a944ad76
2 changed files with 6 additions and 5 deletions
+5 -5
View File
@@ -5,7 +5,7 @@ services:
image: caddy:2-alpine
restart: unless-stopped
env_file:
- .env
- ${CMS_SERVICE_ENV_FILE:-.env}
ports:
- "${CMS_HTTP_BIND:-127.0.0.1:8210}:80"
- "${CMS_AUTH_HTTP_BIND:-127.0.0.1:8211}:80"
@@ -31,7 +31,7 @@ services:
context: ..
restart: unless-stopped
env_file:
- .env
- ${CMS_SERVICE_ENV_FILE:-.env}
environment:
HOST: 0.0.0.0
PORT: 8090
@@ -61,7 +61,7 @@ services:
image: docker.io/library/postgres:16-alpine
restart: unless-stopped
env_file:
- .env
- ${CMS_SERVICE_ENV_FILE:-.env}
environment:
POSTGRES_DB: ${PG_DB:-authentik}
POSTGRES_PASSWORD: ${PG_PASS:?database password required}
@@ -82,7 +82,7 @@ services:
command: server
restart: unless-stopped
env_file:
- .env
- ${CMS_SERVICE_ENV_FILE:-.env}
environment:
AUTHENTIK_POSTGRESQL__HOST: postgresql-authentik
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
@@ -113,7 +113,7 @@ services:
restart: unless-stopped
user: root
env_file:
- .env
- ${CMS_SERVICE_ENV_FILE:-.env}
environment:
AUTHENTIK_POSTGRESQL__HOST: postgresql-authentik
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}