Update docker-compose and environment configuration for authentik proxy

This commit is contained in:
Philip Henning 2025-08-28 22:52:21 +02:00
parent 8a548bd788
commit e0af750bb3
2 changed files with 23 additions and 15 deletions

View file

@ -1,15 +1,22 @@
services:
authentik_proxy:
image: ghcr.io/goauthentik/proxy:${AUTHENTIK_TAG:?Authentik tag is not configured}
# Optionally specify the container's network, which must be able to reach the core authentik server.
# networks:
# - foo
ports:
- 127.0.0.1:42080:42080
- 127.0.0.1:42443:42443
environment:
AUTHENTIK_HOST: ${AUTHENTIK_HOST:?Authentik host is not configured}
AUTHENTIK_INSECURE: "false"
AUTHENTIK_LISTEN__HTTP: "0.0.0.0:42080"
AUTHENTIK_LISTEN__HTTPS: "0.0.0.0:42443"
AUTHENTIK_TOKEN: ${AUTHENTIK_TOKEN:?Authentik token is not configured}
authentik_proxy:
image: ghcr.io/goauthentik/proxy:${AUTHENTIK_TAG:?Authentik tag is not configured}
# Optionally specify the container's network, which must be able to reach the core authentik server.
# networks:
# - foo
ports:
- 127.0.0.1:42080:42080
- 127.0.0.1:42443:42443
networks:
- dokploy-network
environment:
AUTHENTIK_HOST: ${AUTHENTIK_HOST:?Authentik host is not configured}
AUTHENTIK_INSECURE: "true"
AUTHENTIK_LISTEN__HTTP: "0.0.0.0:42080"
AUTHENTIK_LISTEN__HTTPS: "0.0.0.0:42443"
AUTHENTIK_TOKEN: ${AUTHENTIK_TOKEN:?Authentik token is not configured}
AUTHENTIK_HOST_BROWSER: ${AUTHENTIK_HOST_BROWSER:?Authentik host browser is not configured}
networks:
dokploy-network:
external: true

View file

@ -1,5 +1,6 @@
AUTHENTIK_TAG=2025.8.1
AUTHENTIK_HOST=https://sso.s1q.dev
AUTHENTIK_HOST=https://127.0.0.1:9443
AUTHENTIK_HOST_BROWSER=https://sso.s1q.dev
# Secrets
# AUTHENTIK_TOKEN= # Token generated by authentik