forked from SiriusScan/Sirius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
55 lines (51 loc) · 975 Bytes
/
docker-compose.yaml
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
version: '3.4'
services:
mongo:
command: mongod --quiet --logpath /dev/null
image: mongo
restart: always
ports:
- 27017:27017
rabbitmq:
image: rabbitmq:3-management
restart: always
logging:
driver: none
ports:
- 5672:5672
- 15672:15672
volumes:
- ./rabbit-mq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
healthcheck:
test: [ "CMD", "rabbitmqctl", "status"]
interval: 30s
timeout: 15s
retries: 5
sirius-api:
build: ./API/
restart: always
ports:
- "8080:8080"
volumes:
- ./API:/api
depends_on:
- mongo
- rabbitmq
sirius-web:
build: ./UI/
ports:
- "5173:5173"
volumes:
- ./UI:/app
- /app/node_modules
depends_on:
- sirius-api
sirius-engine:
build: ./Engine/
restart: always
ports:
- "5174:5174"
volumes:
- ./Engine:/engine
depends_on:
- rabbitmq