forked from theopenlane/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-authentik.yml
More file actions
62 lines (59 loc) · 1.6 KB
/
Copy pathdocker-compose-authentik.yml
File metadata and controls
62 lines (59 loc) · 1.6 KB
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
services:
authentik-server:
command: server
depends_on:
redis:
condition: service_started
env_file:
- ${PWD}/docker/configs/authentik/.env-example
environment:
AUTHENTIK_POSTGRESQL__HOST: postgres
AUTHENTIK_POSTGRESQL__NAME: authentik
AUTHENTIK_POSTGRESQL__USER: postgres
AUTHENTIK_REDIS__HOST: redis
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.2}
ports:
- ${COMPOSE_PORT_HTTP:-9000}:9000
- ${COMPOSE_PORT_HTTPS:-9443}:9443
restart: unless-stopped
shm_size: 512mb
volumes:
- authentik-data:/data
- authentik-custom-templates:/templates
networks:
- default
authentik-worker:
command: worker
depends_on:
redis:
condition: service_started
env_file:
- ${PWD}/docker/configs/authentik/.env-example
environment:
AUTHENTIK_POSTGRESQL__HOST: postgres
AUTHENTIK_POSTGRESQL__NAME: authentik
AUTHENTIK_POSTGRESQL__USER: postgres
AUTHENTIK_REDIS__HOST: redis
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2026.2.2}
restart: unless-stopped
shm_size: 512mb
user: root
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- authentik-data:/data
- authentik-certs:/certs
- authentik-custom-templates:/templates
networks:
- default
redis:
image: redis:7.4.9-alpine
restart: unless-stopped
networks:
- default
volumes:
authentik-data:
driver: local
authentik-certs:
driver: local
authentik-custom-templates:
driver: local