-
Notifications
You must be signed in to change notification settings - Fork 14
/
dc.external.yml
56 lines (56 loc) · 1.39 KB
/
dc.external.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
version: "3"
services:
reader:
build:
context: "https://github.com/OpenSlides/openslides-datastore-service.git#main"
dockerfile: Dockerfile
args:
MODULE: "reader"
PORT: "9010"
image: openslides-datastore-reader
ports:
- "9010:9010"
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- postgres
networks:
- datastore
- postgres
writer:
build:
context: "https://github.com/OpenSlides/openslides-datastore-service.git#main"
dockerfile: Dockerfile
args:
MODULE: "writer"
PORT: "9011"
image: openslides-datastore-writer
ports:
- "9011:9011"
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- postgres
- redis
networks:
- datastore
- postgres
- redis
postgres:
image: postgres:15
environment:
- POSTGRES_USER=openslides
- POSTGRES_PASSWORD=openslides
- POSTGRES_DB=openslides
networks:
- postgres
redis:
image: redis:alpine
ports:
- "6379:6379"
networks:
- redis
networks:
datastore:
postgres:
redis: