-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
46 lines (46 loc) · 1.15 KB
/
docker-compose.prod.yml
File metadata and controls
46 lines (46 loc) · 1.15 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
services:
backend-action:
build:
context: ../..
target: "prod"
args:
CONTEXT: "prod"
image: openslides-backend
ports:
- "9002:9002"
environment:
- OPENSLIDES_BACKEND_COMPONENT=action
- DATABASE_HOST=postgres
depends_on:
- postgres
- redis
secrets:
- postgres_password
backend-presenter:
build:
context: ../..
target: "prod"
args:
CONTEXT: "prod"
image: openslides-backend
ports:
- "9003:9003"
environment:
- OPENSLIDES_BACKEND_COMPONENT=presenter
- DATABASE_HOST=postgres
depends_on:
- postgres
- redis
secrets:
- postgres_password
postgres:
image: postgres:17
environment:
- POSTGRES_USER=openslides
- POSTGRES_PASSWORD=openslides
- POSTGRES_DB=openslides
redis:
image: redis:alpine
secrets:
postgres_password:
file: ./secrets/postgres_password