[Komodo] fern: Write Compose File: update authentik/compose.yaml

This commit is contained in:
komodo 2025-08-12 09:44:08 +08:00
parent 1255020f73
commit d991fdd1a1

View file

@ -28,6 +28,7 @@ services:
labels: labels:
caddy: auth.fern.garden caddy: auth.fern.garden
caddy.reverse_proxy: "{{upstreams 9000}}" caddy.reverse_proxy: "{{upstreams 9000}}"
authentik_db: authentik_db:
image: docker.io/library/postgres:16-alpine image: docker.io/library/postgres:16-alpine
container_name: authentik_db container_name: authentik_db
@ -50,6 +51,7 @@ services:
authentik_ldap: authentik_ldap:
image: ghcr.io/goauthentik/ldap:${AUTHENTIK_VERSION} image: ghcr.io/goauthentik/ldap:${AUTHENTIK_VERSION}
container_name: authentik_ldap container_name: authentik_ldap
restart: unless-stopped
depends_on: depends_on:
authentik: authentik:
condition: service_healthy condition: service_healthy
@ -67,6 +69,7 @@ services:
authentik_proxy: authentik_proxy:
image: ghcr.io/goauthentik/proxy:${AUTHENTIK_VERSION} image: ghcr.io/goauthentik/proxy:${AUTHENTIK_VERSION}
container_name: authentik_proxy container_name: authentik_proxy
restart: unless-stopped
depends_on: depends_on:
authentik: authentik:
condition: service_healthy condition: service_healthy
@ -89,7 +92,7 @@ services:
networks: networks:
- default - default
command: --save 60 1 --loglevel warning command: --save 60 1 --loglevel warning
restart: always restart: unless-stopped
healthcheck: healthcheck:
test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ] test: [ "CMD-SHELL", "redis-cli ping | grep PONG" ]
start_period: 20s start_period: 20s
@ -127,16 +130,4 @@ services:
networks: networks:
default: default:
proxy: proxy:
external: true external: true
volumes:
authentik_db:
name: authentik_db
authentik_redis:
name: authentik_redis
authentik_media:
name: authentik_media
authentik_certs:
name: authentik_certs
authentik_templates:
name: authentik_templates