-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
68 lines (61 loc) · 1.34 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3'
services:
rabbitmq:
# image: rabbitmq:latest
build:
context: ./rabbit-docker
ports:
# The standard AMQP protocol port
- "5672:5672"
# HTTP management UI
- "15672:15672"
networks:
- network
# redis:
# image: redis:latest
# ports:
# - '6379:6379'
# networks:
# - network
response-agent:
build: ./response-agent
ports:
- "8888:8888" # manual HTTP calls
networks:
- network
response-toolkit:
build: ./response-toolkit
ports:
- "5000:5000" # manual HTTP calls
depends_on:
- rabbitmq
- mongodb
networks:
- network
mongodb:
image: mongo:latest
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: user
MONGO_INITDB_ROOT_PASSWORD: password
# volumes:
# - "./mongo-db:/data/db"
networks:
- network
web-ui:
build: ./web-ui
ports:
- "5001:5001"
volumes:
- ./web-ui/svelte-frontend/public/:/tornado/svelte-frontend/public/
# - "/var/run/docker.sock:/var/run/docker.sock"
depends_on:
- rabbitmq
- mongodb
- response-toolkit
networks:
- network
networks:
# Declare our private network. We must declare one for the magic
# Docker DNS to work, but otherwise its default settings are fine.
network: {}