-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (65 loc) · 1.84 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
services:
postgresql:
image: docker.io/library/postgres:16
restart: unless-stopped
environment:
POSTGRES_PASSWORD: postgres_password
POSTGRES_USER: authentik
POSTGRES_DB: authentik
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
redis:
image: docker.io/library/redis:7
command: --save 60 1 --loglevel warning
restart: unless-stopped
volumes:
- ./volumes/redis:/data
server:
image: ghcr.io/goauthentik/dev-server:gh-kerberos-source-reworked
restart: unless-stopped
command: server
environment:
AUTHENTIK_SECRET_KEY: secret_key
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql
AUTHENTIK_POSTGRESQL__USER: authentik
AUTHENTIK_POSTGRESQL__NAME: authentik
AUTHENTIK_POSTGRESQL__PASSWORD: postgres_password
volumes:
- ./volumes/shared:/shared:ro
ports:
- 9000:9000
depends_on:
- postgresql
- redis
worker:
image: ghcr.io/goauthentik/dev-server:gh-kerberos-source-reworked
restart: unless-stopped
command: worker
environment:
AUTHENTIK_SECRET_KEY: secret_key
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql
AUTHENTIK_POSTGRESQL__USER: authentik
AUTHENTIK_POSTGRESQL__NAME: authentik
AUTHENTIK_POSTGRESQL__PASSWORD: postgres_password
volumes:
- ./blueprints/source-kerberos.yaml:/blueprints/source-kerberos.yaml:ro
- ./volumes/shared:/shared:ro
depends_on:
- postgresql
- redis
kdc:
image: ghcr.io/authentik-community/krb5:0.1.0
restart: unless-stopped
environment:
KRB5_REALM: AUTHENTIK.COMPANY
volumes:
- ./volumes/krb5kdc:/var/lib/krb5kdc
- ./volumes/shared:/shared
ports:
- 8888:8888/udp
- 8888:8888/tcp
- 8749:8749/tcp
user: root:root