-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
51 lines (46 loc) · 1.03 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
# Launch & Build a bunch containers with workers and one service for them.
version: "3.7"
services:
main-node:
build: ./main_node/
tty: true
container_name: main-node
environment:
- EXP_DUMP_NAME=undefined
restart: on-failure
event_service:
build: ./event_service/
stdin_open: true
tty: true
container_name: event-service
ports:
- 49153:49153
- 49154:49154
- 49155:49155
restart: on-failure
mongo-db:
image: mongo:4.4.0
container_name: mongo-db
restart: on-failure
environment:
MONGO_INITDB_DATABASE: BRISE_db
ports:
- 27017:27017
volumes:
- ./mongo_db/init.js:/docker-entrypoint-initdb.d/init.js
worker_service:
build: ./worker_service/
stdin_open: true
tty: true
container_name: worker-service
restart: on-failure
front-end:
build: ./front_end/
container_name: front-end
tty: true
ports:
- 80:80
restart: on-failure
worker:
build: ./worker/
restart: on-failure