-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 879 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (41 loc) · 879 Bytes
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
version: "3"
services:
mongo:
image: mongo:3.6.2-jessie
container_name: gamification-mongo
ports:
- "50000:27017"
volumes:
- mongo-data:/data/db
gamification-engine:
build:
context: .
#image: gamification:final3
container_name: gamification-engine
ports:
- "8010:8010"
- "7777:7777"
# deploy:
# resources:
# limits:
# memory: 1024m
# reservations:
# memory: 512m
depends_on:
- mongo
links:
- mongo:mongodb
env_file: gamification.env
volumes:
- ./logs:/app/game-engine.web/logs
gamification-frontend:
build:
context: ./gamification-frontend
container_name: gamification-frontend
ports:
- "3000:8080"
depends_on:
- gamification-engine
env_file: gamification-frontend.env
volumes:
mongo-data: