-
-
Notifications
You must be signed in to change notification settings - Fork 122
/
Copy pathdocker-compose.yml
95 lines (89 loc) · 2.53 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Please see the full example under examples/docker-compose.example.yml
services:
romm-mariadb-dev:
image: mariadb:11.3.2
container_name: romm-mariadb-dev
restart: unless-stopped
env_file:
- .env
environment:
- MARIADB_ROOT_PASSWORD=$DB_ROOT_PASSWD
- MARIADB_DATABASE=$DB_NAME
- MARIADB_USER=$DB_USER
- MARIADB_PASSWORD=$DB_PASSWD
volumes:
- maria-db:/var/lib/mysql
ports:
- $DB_PORT:3306
romm-valkey-dev:
image: valkey/valkey:8
container_name: romm-valkey-dev
restart: unless-stopped
env_file:
- .env
ports:
- $REDIS_PORT:6379
romm-postgres-dev:
image: docker.io/library/postgres:16-alpine
container_name: romm-postgresql-dev
restart: unless-stopped
env_file:
- .env
environment:
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
POSTGRES_USER: $POSTGRES_USER
POSTGRES_DB: $POSTGRES_DB
volumes:
- postgres-db:/var/lib/postgresql/data
ports:
- 5432:5432
romm-authentik-server:
image: ghcr.io/goauthentik/server:2024.10.4
container_name: romm-authentik-server
restart: unless-stopped
command: server
env_file:
- .env
environment:
AUTHENTIK_REDIS__HOST: romm-valkey-dev
AUTHENTIK_POSTGRESQL__HOST: romm-postgres-dev
AUTHENTIK_POSTGRESQL__USER: $POSTGRES_USER
AUTHENTIK_POSTGRESQL__NAME: $POSTGRES_DB
AUTHENTIK_POSTGRESQL__PASSWORD: $POSTGRES_PASSWORD
AUTHENTIK_SECRET_KEY: $AUTHENTIK_SECRET_KEY
AUTHENTIK_BOOTSTRAP_PASSWORD: $AUTHENTIK_BOOTSTRAP_PASSWORD
volumes:
- authentik-media:/media
- authentik-templates:/templates
ports:
- 9000:9000
- 9443:9443
depends_on:
- romm-postgres-dev
- romm-valkey-dev
romm-authentik-worker:
image: ghcr.io/goauthentik/server:2024.10.4
container_name: romm-authentik-worker
restart: unless-stopped
command: worker
env_file:
- .env
environment:
AUTHENTIK_REDIS__HOST: romm-valkey-dev
AUTHENTIK_POSTGRESQL__HOST: romm-postgres-dev
AUTHENTIK_POSTGRESQL__USER: $POSTGRES_USER
AUTHENTIK_POSTGRESQL__NAME: $POSTGRES_DB
AUTHENTIK_POSTGRESQL__PASSWORD: $POSTGRES_PASSWORD
AUTHENTIK_SECRET_KEY: $AUTHENTIK_SECRET_KEY
AUTHENTIK_BOOTSTRAP_PASSWORD: $AUTHENTIK_BOOTSTRAP_PASSWORD
volumes:
- authentik-media:/media
- authentik-templates:/templates
depends_on:
- romm-postgres-dev
- romm-valkey-dev
volumes:
maria-db:
postgres-db:
authentik-media:
authentik-templates: