-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (47 loc) · 1.13 KB
/
docker-compose.yaml
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
version: '3.1'
services:
rabbitmq:
image: rabbitmq:3-management
container_name: 'rabbitmq'
ports:
- "15672:15672"
- "5672:5672"
- "5671:5671"
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
environment:
RABBITMQ_DEFAULT_PASS: "guest"
RABBITMQ_DEFAULT_USER: "guest"
RABBITMQ_DEFAULT_VHOST: "/"
networks:
- auto-assigner
mongo:
container_name: mongo
image: mongo
ports:
- 27017:27017
volumes:
- ./mongo:/data/db
networks:
- auto-assigner
back:
depends_on:
- mongo
- rabbitmq
container_name: back
build:
context: ./
dockerfile: Dockerfile
ports:
- 8000:8000
- 9229:9229
volumes:
- ./:/api
environment:
- ENV=local
networks:
- auto-assigner
networks:
auto-assigner:
driver: bridge