This commit is contained in:
2025-11-30 20:50:00 +01:00
parent 972be8425a
commit aa68e0f291
3 changed files with 24 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ services:
wud.watch: false
restart: ${RESTART:-unless-stopped}
volumes:
- /share/docker_data/authentik/database:/var/lib/postgresql/data
- authentik_database:/var/lib/postgresql/data
redis:
command: --save 60 1 --loglevel warning
healthcheck:
@@ -50,7 +50,7 @@ services:
wud.watch.digest: true
restart: ${RESTART:-unless-stopped}
volumes:
- redis:/data
- authentik_redis:/data
server:
command: server
depends_on:
@@ -84,8 +84,8 @@ services:
- ${COMPOSE_PORT_HTTPS:-9453}:9443
restart: ${RESTART:-unless-stopped}
volumes:
- /share/docker_data/authentik/media:/media
- /share/docker_data/authentik/custom-templates:/templates
- authentik_media:/media
- authentik_custom-templates:/templates
- /var/run/docker.sock:/var/run/docker.sock
worker:
command: worker
@@ -108,12 +108,18 @@ services:
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /share/docker_data/authentik/media:/media
- /share/docker_data/authentik/certs:/certs
- /share/docker_data/authentik/custom-templates:/templates
- authentik_media:/media
- authentik_certs:/certs
- authentik_custom-templates:/templates
volumes:
database:
authentik_database:
driver: local
redis:
authentik_redis:
driver: local
authentik_custom-templates:
driver: local
authentik_media:
driver: local
authentik_certs:
driver: local