-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (35 loc) · 1023 Bytes
/
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
version: '3.5'
services:
vernemq:
environment:
- DOCKER_VERNEMQ_ACCEPT_EULA=yes
- DOCKER_VERNEMQ_ALLOW_ANONYMOUS=on
- MQTT_TOPIC=thndr-trading
image: erlio/docker-vernemq
ports:
- "1883:1883"
container_name: thndr_vernemq
streamer:
environment:
- MQTT_HOST=vernemq
- MQTT_PORT=1883
- MQTT_TOPIC=thndr-trading
image: thndr/streamer:0.2
depends_on:
- vernemq
mqtt_client_thndr_task:
build: ./mqtt
environment:
- DB_URL=thndr_assignment_database
- VERNEMQ_HOSTNAME=thndr_vernemq
depends_on:
- vernemq
- streamer
container_name: thndr_mqtt
database_thndr_task:
build: ./server
volumes:
- ./server/app/src/db/thndr.db:/thndr-database/app/src/db/thndr.db
ports:
- "80:80"
container_name: thndr_assignment_database