-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
55 lines (50 loc) · 1.09 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
version: '3.8'
services:
broker:
image: toke/mosquitto
ports:
- "1883:1883"
networks:
- my-network
monitor:
depends_on:
- broker
image: amadeus4dev/monitor-service
container_name: monitor-service
build:
context: .
dockerfile: monitor.dockerfile
networks:
- my-network
environment:
- AMADEUS_CLIENT_SECRET=${AMADEUS_CLIENT_SECRET}
- AMADEUS_CLIENT_ID=${AMADEUS_CLIENT_ID}
notifier:
depends_on:
- broker
image: amadeus4dev/notifier-service
container_name: notifier-service
build:
context: .
dockerfile: notifier.dockerfile
networks:
- my-network
environment:
- TWILIO_SID=${TWILIO_SID}
- TWILIO_TOKEN=${TWILIO_TOKEN}
- TWILIO_NUMBER=${TWILIO_NUMBER}
subscriber:
depends_on:
- broker
image: amadeus4dev/subscriber-service
container_name: subscriber-service
build:
context: .
dockerfile: subscriber.dockerfile
ports:
- "5000:5000"
networks:
- my-network
networks:
my-network:
external: true