-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (54 loc) · 1.22 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
version: '3.8'
services:
authentik:
image: ghcr.io/goauthentik/server:2023.10.3
container_name: authentik
command: server
environment:
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: authentik_db
AUTHENTIK_POSTGRESQL__USER: authentik
AUTHENTIK_POSTGRESQL__NAME: authentik
AUTHENTIK_POSTGRESQL__PASSWORD: authentik
volumes:
- authentik:/data/
ports:
- "9000:9000"
redis:
image: redis:alpine
container_name: redis
volumes:
- redis:/data/
authentik_db:
image: postgres:13
container_name: authentik_db
environment:
POSTGRES_DB: authentik
POSTGRES_USER: authentik
POSTGRES_PASSWORD: authentik
volumes:
- authentik_db:/var/lib/postgresql/data/
app_db:
image: postgres:13
container_name: app_db
environment:
POSTGRES_DB: your_postgres_db
POSTGRES_USER: your_postgres_user
POSTGRES_PASSWORD: your_postgres_password
volumes:
- app_db:/var/lib/postgresql/data/
app:
build: .
container_name: app
ports:
- "8501:8501"
env_file:
- .env
depends_on:
- authentik
- app_db
volumes:
authentik:
redis:
authentik_db:
app_db: