-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (53 loc) · 1.13 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
version: '3'
services:
web-core:
build:
context: .
dockerfile: Dockerfile
environment:
- APP_ENV=development
- S5R_LOG_SERVICE_PORT=3004
- S5R_AUTH_SERVICE_PORT=3010
ports:
- 4000:4000
volumes:
- ./:/opt/web-core
command: ["npm", "run", "start"]
mongo:
image: sammlerio/mongo
ports:
- 27017:27017
logging:
driver: none
rabbitmq:
image: sammlerio/rabbitmq
ports:
- "8080:15672"
- "5672:5672"
logging:
driver: none
auth-service:
image: sammlerio/auth-service
ports:
- "3010:3010"
environment:
- PORT=3010
- JWT_SECREAT=foo
- MONGODB_DEBUG=false
- MONGODB_HOST=mongo
- MONGODB_PORT=27017
volumes:
- ./node_modules/auth-service:/opt/auth-service
command: ["npm", "run", "start:watch"]
depends_on:
- mongo
# log-service:
# image: sammlerio/log-service
# ports:3017
# - "3004:3004"
# environment:
# volumes:
# - ./node_modules/log-service:/opt/log-service
# command: ["npm", "run", "start:watch"]
# depends_on:
# - mongo