-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (68 loc) · 1.52 KB
/
docker-compose.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
version: "3.3"
services:
base:
image: corona-school-base
build:
context: ./
dockerfile: ./Dockerfile-Base
backend:
build:
context: ../
dockerfile: ./dev-env/Dockerfile-Backend
ports:
- "5000:5000"
depends_on:
- postgres
- base
screening-backend:
build:
context: ../
dockerfile: ./dev-env/Dockerfile-BackendScreening
ports:
- "3001:3001"
depends_on:
- postgres
- redis
- base
- backend
web-screening-admin:
build:
context: ../
dockerfile: ./dev-env/Dockerfile-WebScreeningAdmin
ports:
- "3000:8080"
depends_on:
- screening-backend
- base
web-screening-app:
build:
context: ../
dockerfile: ./dev-env/Dockerfile-WebScreeningApp
ports:
- "3002:80"
depends_on:
- screening-backend
- base
stdin_open: true # Fix for react scripts running wild, see https://stackoverflow.com/questions/60895246/react-app-exiting-in-docker-container-with-exit-code-0
web-user-app:
build:
context: ../
dockerfile: ./dev-env/Dockerfile-WebUserApp
ports:
- "3000:80"
depends_on:
- backend
- base
postgres:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: "dev_corona_school"
POSTGRES_PASSWORD: "test"
POSTGRES_DB: "dev_corona_school"
redis:
image: redis:latest
ports:
- "6379:6379"
command: ["redis-server", "--bind", "redis", "--port", "6379"]