-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
95 lines (84 loc) · 1.69 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# docker-compose.yml
version: '3.4'
services:
account-service:
build: ./account-service
image: account-service
ports:
- 5000:5000
networks:
- ampersand-network
greetings-service:
build: ./greetings-service
image: greetings-service
ports:
- 5001:5001
networks:
- ampersand-network
data-ingestor:
build: ./data-ingestor
image: data-ingestor
ports:
- 81:81
networks:
- ampersand-network
data-plotting:
build: ./data-plotting
image: data-plotting
ports:
- 82:82
networks:
- ampersand-network
# radar-station:
# build: ./radar-station
# image: radar-station
# ports:
# - 8080:8080
# networks:
# - ampersand-network
mongo:
image: "mongo:4.4-bionic"
ports:
- "27017:27017"
networks:
- ampersand-network
volumes:
- mongo-data:/data/db
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- 5672:5672
- 15672:15672
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_PASSWORD=guest
- RABBITMQ_USERNAME=guest
networks:
- ampersand-network
gui:
build: ./gui
image: gui
ports:
- 3000:3000
networks:
- ampersand-network
api-gateway:
build: ./api-gateway
image: api-gateway
ports:
- 3001:3001
depends_on:
- 'mongo'
networks:
- ampersand-network
networks:
ampersand-network:
driver: bridge
volumes:
mongo-data:
driver: local