-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
75 lines (75 loc) · 1.44 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '3'
services:
gateway:
image: codate/gateway:latest
ports:
- "80:80"
links:
- auth:authserver
- file:fileserver
- exam:examserver
extra_hosts:
- "staticserver:172.16.27.156"
networks:
- thisnet
depends_on:
- file
- auth
file:
image: codate/file:latest
ports:
- "8081:8081"
networks:
- thisnet
environment:
- PORT=8081
- URL=mongodb://mongo:27017/file
#command: sh -c './wait-for mongo:27017 -- npm start'
depends_on:
- mongo
auth:
image: codate/auth:latest
ports:
- "8082:8082"
networks:
- thisnet
environment:
- PORT=8082
- URL=mongodb://mongo:27017/auth
#command: sh -c './wait-for mongo:27017 -- npm start'
depends_on:
- mongo
exam:
image: codate/exam:latest
ports:
- "8084:8084"
networks:
- thisnet
environment:
- PORT=8084
- URL=mongodb://mongo:27017/exam
#command: sh -c './wait-for mongo:27017 -- npm start'
depends_on:
- mongo
mongo:
image: mongo:3
ports:
- "27017:27017"
networks:
- thisnet
volumes:
- mongodata:/data/db
portainer:
image: portainer/portainer:latest
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainerdata:/data
networks:
- thisnet
volumes:
mongodata:
portainerdata:
networks:
thisnet: