mirror of
https://github.com/daniviga/bite.git
synced 2024-11-23 05:16:13 +01:00
Daniele Viganò
8e5a407b28
* 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
21 lines
482 B
YAML
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"
|