Update authentik
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
authentik_db:
|
||||
container_name: authentik_db
|
||||
image: docker.io/library/postgres:17.5-alpine
|
||||
image: docker.io/library/postgres:17.5
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
@@ -9,6 +9,8 @@ services:
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/authentik/db:/var/lib/postgresql/data
|
||||
networks:
|
||||
- backend
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||
interval: 10s
|
||||
@@ -18,11 +20,13 @@ services:
|
||||
|
||||
authentik_valkey:
|
||||
container_name: authentik_valkey
|
||||
image: docker.io/valkey/valkey:8.1.3-alpine
|
||||
image: docker.io/valkey/valkey:8.1.3
|
||||
restart: unless-stopped
|
||||
command: valkey-server --save 60 1 --requirepass ${VALKEY_PASSWORD}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/authentik/valkey:/data
|
||||
networks:
|
||||
- backend
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "echo 'auth ${VALKEY_PASSWORD}\nping' | valkey-cli | grep PONG"]
|
||||
interval: 10s
|
||||
@@ -68,6 +72,9 @@ services:
|
||||
ports:
|
||||
- ${AUTHENTIK_HTTP_PORT}:9000
|
||||
- ${AUTHENTIK_HTTPS_PORT}:9443
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
authentik_worker:
|
||||
container_name: authentik_worker
|
||||
@@ -106,3 +113,12 @@ services:
|
||||
- ${APPDATA_PATH}/authentik/media:/media
|
||||
- ${APPDATA_PATH}/authentik/certs:/certs
|
||||
- ${APPDATA_PATH}/authentik/custom-templates:/templates
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
backend:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user