-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (68 loc) · 1.17 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
version: '3.5'
services:
gateway-debug:
build: .
hostname: gateway
command: npm run start:debug
volumes:
- .:/var/www/gateway
env_file:
- .env
ports:
- "8000:8000"
- "9229:9229"
networks:
- backend
depends_on:
- rabbitmq
gateway-dev:
build: .
hostname: gateway
volumes:
- .:/var/www/gateway
env_file:
- .env
command: npm run start:dev
ports:
- "8000:8000"
networks:
- backend
depends_on:
- rabbitmq
gateway-prod:
build: .
hostname: gateway
volumes:
- .:/var/www/gateway
command: npm run start:prod
env_file:
- .env
ports:
- "8000:8000"
networks:
- backend
depends_on:
- rabbitmq
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
networks:
- backend
mongo:
container_name: mongo
image: mongo
volumes:
- mongo_data:/data/db
ports:
- 27017:27017
networks:
- backend
networks:
backend:
name: cartografia-network
driver: bridge
volumes:
mongo_data: