2020-06-18 19:09:46 +02:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
timescale:
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
|
2020-06-21 15:21:00 +02:00
|
|
|
broker:
|
|
|
|
ports:
|
2020-06-21 22:58:46 +02:00
|
|
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:1883:1883"
|
|
|
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:9001:9001"
|
2020-06-21 15:21:00 +02:00
|
|
|
|
2020-06-18 19:09:46 +02:00
|
|
|
bite:
|
|
|
|
volumes:
|
|
|
|
- ../bite:/srv/app/bite
|
|
|
|
command: ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
|
|
|
|
ports:
|
2020-06-21 22:58:46 +02:00
|
|
|
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:8000:8000"
|
2020-06-18 19:09:46 +02:00
|
|
|
|
|
|
|
data-migration:
|
|
|
|
volumes:
|
|
|
|
- ../bite:/srv/app/bite
|
|
|
|
|
|
|
|
mqtt-to-db:
|
|
|
|
volumes:
|
|
|
|
- ../bite:/srv/app/bite
|