-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 1.01 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
version: "3"
services:
backend:
container_name: mantis-backend
restart: always
env_file:
- ./Environment/gateway-variables.env
build: ./backend
ports:
- "7332:7332"
volumes:
- ./mantis/backend
depends_on:
- mongo
frontend:
container_name: mantis-frontend
restart: always
env_file:
- ./Environment/frontend-variables.env
build: ./frontend
ports:
- "7333:7333"
volumes:
- ./mantis/frontend
depends_on:
- backend
mongo:
container_name: mantis-mongo
image: mongo
command: mongod --port 7331
volumes:
- ./MongoDB/init.js:/docker-entrypoint-initdb.d/init.js:ro
- data-volume:/data-db
ports:
- "7331:7331"
mongo-seed:
build: ./MongoDB
links:
- mongo
volumes:
data-volume: