build: remove authentik setup from docker-compose

It cannot be provisioned automatically easily and inside Docker, it is
difficult to get access to host network.
This commit is contained in:
Vincent Bernat
2022-05-30 21:55:53 +02:00
parent 9567de4ca5
commit 494fd25c86

View File

@@ -29,39 +29,3 @@ services:
ports:
- 127.0.0.1:8123:8123/tcp
- 127.0.0.1:9000:9000/tcp
# Authentik
authentik:
image: &authentik-image ghcr.io/goauthentik/server:2022.5.3
command: server
environment: &authentik-env
AUTHENTIK_REDIS__HOST: authentik-redis
AUTHENTIK_POSTGRESQL__HOST: authentik-postgresql
AUTHENTIK_POSTGRESQL__USER: authentik
AUTHENTIK_POSTGRESQL__NAME: authentik
AUTHENTIK_POSTGRESQL__PASSWORD: dummypassword
AUTHENTIK_DISABLE_UPDATE_CHECK: "true"
AUTHENTIK_ERROR_REPORTING__ENABLED: "false"
AUTHENTIK_DISABLE_STARTUP_ANALYTICS: "true"
AUTHENTIK_AVATARS: none
AUTHENTIK_SECRET_KEY: dummykey
AK_ADMIN_PASS: akadmin
AK_ADMIN_TOKEN: aktoken
ports:
- 127.0.0.1:8999:9000/tcp
depends_on:
- authentik-postgresql
- authentik-redis
- authentik-worker
authentik-postgresql:
image: postgres:12-alpine
environment:
- POSTGRES_PASSWORD=dummypassword
- POSTGRES_USER=authentik
- POSTGRES_DB=authentik
authentik-redis:
image: redis:alpine
authentik-worker:
image: *authentik-image
command: worker
environment: *authentik-env