-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1 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
version: "3.4"
services:
dev:
image: bayesimpact/ma-voie-dev:${CIRCLE_BUILD_NUM:-latest}
build:
context: .
target: dev
command: npm start
entrypoint: ./entrypoint.sh
tty: true
ports:
- "9707:80"
test:
image: bayesimpact/ma-voie-test:${CIRCLE_BUILD_NUM:-latest}
build:
context: .
args:
- REACT_BASE_TAG
- SKIP_TEST
target: test
nginx:
image: bayesimpact/ma-voie:${CIRCLE_BUILD_NUM:-latest}
build:
context: .
target: nginx
ports:
- 80
server:
image: bayesimpact/ma-voie-server:${CIRCLE_BUILD_NUM:-latest}
build:
context: .
dockerfile: server/Dockerfile
target: dev
command: npm run serve
entrypoint: ./entrypoint.sh
environment:
FIREBASE_TOKEN:
ports:
- "4000:4000"
- "5000:5000"
server-test:
image: bayesimpact/ma-voie-server-test:${CIRCLE_BUILD_NUM:-latest}
build:
context: .
dockerfile: server/Dockerfile
target: test