forked from OpenSlides/openslides-auth-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
72 lines (67 loc) · 1.64 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
version: "3"
services:
auth:
image: openslides-auth-dev
restart: always
depends_on:
- datastore-reader
- datastore-writer
- message_bus
- cache
env_file: services.env
volumes:
- ./auth/libraries:/app/libraries
- ./auth/src:/app/src
- ./auth/test:/app/test
ports:
- "9004:9004"
message_bus:
image: redis:alpine
expose:
- 6379
cache:
image: redis:alpine
expose:
- 6379
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:
- DATASTORE_ENABLE_DEV_ENVIRONMENT=1
- NUM_WORKERS=8
- 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
postgresql:
image: postgres:11
environment:
- POSTGRES_USER=openslides
- POSTGRES_PASSWORD=openslides
- POSTGRES_DB=openslides
redis:
image: redis:alpine