forked from OpenSlides/openslides-search-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
88 lines (82 loc) · 2.12 KB
/
docker-compose.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
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
version: "3"
services:
search-service:
image: openslides-search-service-dev
build:
context: .
dockerfile: Dockerfile.dev
restart: always
env_file: services.env
depends_on:
- datastore-reader
- datastore-writer
- postgresql
volumes:
- ./search-service:/app
ports:
- "9022:9022"
datastore-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:
- postgresql
datastore-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:
- DATASTORE_ENABLE_DEV_ENVIRONMENT=1
- COMMAND=create_initial_data
- DATASTORE_INITIAL_DATA_FILE=https://raw.githubusercontent.com/OpenSlides/openslides-backend/main/global/data/example-data.json
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- postgresql
- redis
auth:
build:
context: "https://github.com/OpenSlides/openslides-auth-service.git#main"
dockerfile: Dockerfile
image: openslides-auth
ports:
- "9004:9004"
env_file:
- services.env
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- redis
- datastore-reader
autoupdate:
build:
context: "https://github.com/OpenSlides/openslides-autoupdate-service.git#9fb65150444a37cb8c7947ec11ab724220b2a138"
dockerfile: Dockerfile
image: openslides-autoupdate
env_file:
- services.env
environment:
- OPENSLIDES_DEVELOPMENT=1
depends_on:
- redis
postgresql:
image: postgres:11
environment:
- POSTGRES_USER=openslides
- POSTGRES_PASSWORD=openslides
- POSTGRES_DB=openslides
redis: # Needed for the datastore-writer
image: redis:alpine