forked from bobmayuze/SDnD-Spring20
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (44 loc) · 1.11 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
version: '3'
services:
worker:
container_name: sample_region
build: worker
stdin_open: true
tty: true
volumes:
- ./worker:/usr/src
rabbit_mq:
container_name: rabbit_mq
image: "rabbitmq:3.7.3-management"
hostname: "rabbit_mq"
environment:
- RABBITMQ_ERLANG_COOKIE=SWQOKODSQALRPCLNMEQG
- RABBITMQ_DEFAULT_USER=rabbitmq_username
- RABBITMQ_DEFAULT_PASS=rabbitmq_password
- RABBITMQ_DEFAULT_VHOST=/
ports:
- "4369:4369"
- "5671:5671"
- "5672:5672"
- "15672:15672"
mongo_result_backend:
container_name: mongo_result_backend
image: "aashreys/mongo-auth"
environment:
- AUTH=yes
- MONGODB_ADMIN_USER=admin_user
- MONGODB_ADMIN_PASS=admin_user_pass
- MONGODB_APPLICATION_DATABASE=TMS_DB
- MONGODB_APPLICATION_USER=application_user
- MONGODB_APPLICATION_PASS=application_user_pass
ports:
- "27017:27017"
web_backend:
container_name: web_backend
build: backend
stdin_open: true
tty: true
ports:
- "5000:5000"
volumes:
- ./backend:/usr/src