authentik: reconfigure and anable for caddy

This commit is contained in:
Daniel Meiburg 2024-03-22 23:53:51 +01:00
parent ab7a1fed83
commit 6d25615aa8
Signed by: dm
GPG Key ID: E5827ECFFE0AA4F2
2 changed files with 4 additions and 6 deletions

View File

@ -41,16 +41,14 @@ services:
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
VIRTUAL_HOST: sso.dmeiburg.de
LETSENCRYPT_HOST: sso.dmeiburg.de
OVERWRITEPROTOCOL: https
volumes:
- ./media:/media
- ./custom-templates:/templates
env_file:
- .env
expose:
- 9000
labels:
caddy: sso.dmeiburg.de
caddy.reverse_proxy: "{{upstreams 9000}}"
worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2023.1.2}
restart: unless-stopped
@ -87,5 +85,5 @@ volumes:
networks:
default:
name: nginx-proxy
name: caddy
external: true

View File