This commit is contained in:
2025-03-02 16:09:45 +01:00
parent e9ee5c55c8
commit 98c3f3598a

View File

@ -15,6 +15,8 @@ services:
timeout: 5s
volumes:
- /share/docker_data/authentik/database:/var/lib/postgresql/data
env_file:
- .env
environment:
POSTGRES_PASSWORD: ${PG_PASS:?database password required}
POSTGRES_USER: ${PG_USER:-authentik}
@ -38,7 +40,8 @@ services:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.6.1}
restart: unless-stopped
command: server
env_file:
- .env
environment:
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql
@ -72,6 +75,8 @@ services:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.6.1}
restart: unless-stopped
command: worker
env_file:
- .env
environment:
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql
@ -105,6 +110,8 @@ services:
- 2389:3389
- 2636:6636
restart: unless-stopped
env_file:
- .env
environment:
AUTHENTIK_HOST: https://auth.sectorq.eu
AUTHENTIK_INSECURE: "false"