-
Notifications
You must be signed in to change notification settings - Fork 15
/
dc.dev.yml
49 lines (49 loc) · 1.21 KB
/
dc.dev.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
version: "3"
services:
reader:
image: openslides-datastore-reader-dev
volumes:
- ./datastore:/app/datastore
- ./tests:/app/tests
ports:
- "${OPENSLIDES_DATASTORE_READER_PORT}:${OPENSLIDES_DATASTORE_READER_PORT}"
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- postgres
networks:
- postgres
stdin_open: true
tty: true
writer:
image: openslides-datastore-writer-dev
volumes:
- ./datastore:/app/datastore
- ./tests:/app/tests
- ./cli:/app/cli
ports:
- "${OPENSLIDES_DATASTORE_WRITER_PORT}:${OPENSLIDES_DATASTORE_WRITER_PORT}"
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- postgres
- redis
networks:
- postgres
- redis
stdin_open: true
tty: true
postgres:
image: postgres:15
env_file: database.env
networks:
- postgres
redis:
image: redis:alpine
ports:
- "6379:6379"
networks:
- redis
networks:
postgres:
redis: