1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-23 05:16:13 +01:00
bite/docker/docker-compose.prod.yml
Daniele Viganò 8e5a407b28
Implement MQTT ingestion and improve dockerization (#13)
* Add mqtt-to-db command

* Minor fixes

* Ignore production.py on git

* Add a production conf

* Add django container

* Add gunicorn for prod and traefik
2020-06-15 22:47:55 +02:00

21 lines
482 B
YAML

version: "3.7"
services:
ingress:
command: --providers.docker
ports:
- "80:80"
freedcs:
volumes:
- "./django/production.py.sample:/srv/freedcs/freedcs/production.py"
command: ["gunicorn", "-b", "0.0.0.0:8000", "freedcs.wsgi:application"]
data-migration:
volumes:
- "./django/production.py.sample:/srv/freedcs/freedcs/production.py"
mqtt-to-db:
volumes:
- "./django/production.py.sample:/srv/freedcs/freedcs/production.py"