-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose-dev.yml
46 lines (45 loc) · 1.09 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
version: '3.3'
services:
mongodb:
image: mongo:5.0
container_name: mongodb
# restart: always
volumes:
- ./storage/mongodb:/data/db
command: ["mongod", "--quiet", "--logpath", "/var/log/mongodb/mongod.log"]
ports:
- 127.0.0.1:27017-27019:27017-27019
mcrit-server:
build: ./docker/mcrit/
container_name: mcrit-server
depends_on:
- mongodb
volumes:
- ./repositories/mcrit:/opt/mcrit/
- ./config/:/opt/mcrit/mcrit/config/
entrypoint:
- /entry_server.sh
ports:
- 127.0.0.1:8000:8000
mcrit-worker:
build: ./docker/mcrit/
container_name: mcrit-worker
depends_on:
- mongodb
volumes:
- ./repositories/mcrit:/opt/mcrit/
- ./config/:/opt/mcrit/mcrit/config/
entrypoint:
- /entry_worker.sh
mcritweb:
build: ./docker/mcritweb/
container_name: mcritweb
depends_on:
- mcrit-server
volumes:
- ./repositories/mcritweb:/opt/mcritweb/
- ./storage/mcritweb:/opt/mcritweb/instance
entrypoint:
- /entry_web_dev.sh
ports:
- 127.0.0.1:5000:5000