1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-23 05:16:13 +01:00
bite/docker/docker-compose.dev.yml
Daniele Viganò be4c226955
Fix HTTP reverse proxy with embedded IoT (#20)
* Add an ENV far for custom docker binding

* Delay in Arduino can be customized

* Fix 400 error with Arduino telemetry and Nginx
This was caused by the client not waiting for a response.
Also Content-Length header was bogus.

* Do not crash mqtt-to-db if devices isn't proviosioned

* Update READMEs
2020-06-21 22:58:46 +02:00

27 lines
497 B
YAML

version: "3.7"
services:
timescale:
ports:
- "5432:5432"
broker:
ports:
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:1883:1883"
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:9001:9001"
bite:
volumes:
- ../bite:/srv/app/bite
command: ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
ports:
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:8000:8000"
data-migration:
volumes:
- ../bite:/srv/app/bite
mqtt-to-db:
volumes:
- ../bite:/srv/app/bite