mirror of
https://github.com/daniviga/bite.git
synced 2024-11-26 14:56:13 +01:00
WIP: extend docker compose
This commit is contained in:
parent
23dfb6837d
commit
49211437d2
|
@ -44,6 +44,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ../bite:/srv/app/bite
|
- ../bite:/srv/app/bite
|
||||||
|
|
||||||
mqtt-to-db:
|
dispatcher:
|
||||||
|
volumes:
|
||||||
|
- ../bite:/srv/app/bite
|
||||||
|
|
||||||
|
handler:
|
||||||
volumes:
|
volumes:
|
||||||
- ../bite:/srv/app/bite
|
- ../bite:/srv/app/bite
|
||||||
|
|
|
@ -29,6 +29,10 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./django/production.py.sample:/srv/app/bite/bite/production.py
|
- ./django/production.py.sample:/srv/app/bite/bite/production.py
|
||||||
|
|
||||||
mqtt-to-db:
|
dispatcher:
|
||||||
|
volumes:
|
||||||
|
- ./django/production.py.sample:/srv/app/bite/bite/production.py
|
||||||
|
|
||||||
|
handler:
|
||||||
volumes:
|
volumes:
|
||||||
- ./django/production.py.sample:/srv/app/bite/bite/production.py
|
- ./django/production.py.sample:/srv/app/bite/bite/production.py
|
||||||
|
|
|
@ -104,13 +104,21 @@ services:
|
||||||
- staticdata:/srv/appdata/bite/static
|
- staticdata:/srv/appdata/bite/static
|
||||||
command: ["python3", "manage.py", "collectstatic", "--noinput"]
|
command: ["python3", "manage.py", "collectstatic", "--noinput"]
|
||||||
|
|
||||||
mqtt-to-db:
|
dispatcher:
|
||||||
<<: *service_default
|
<<: *service_default
|
||||||
image: daniviga/bite
|
image: daniviga/bite
|
||||||
command: ["python3", "manage.py", "mqtt-to-db"]
|
command: ["python3", "manage.py", "dispatcher"]
|
||||||
|
networks:
|
||||||
|
- net
|
||||||
|
depends_on:
|
||||||
|
- broker
|
||||||
|
|
||||||
|
handler:
|
||||||
|
<<: *service_default
|
||||||
|
image: daniviga/bite
|
||||||
|
command: ["python3", "manage.py", "handler"]
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
depends_on:
|
depends_on:
|
||||||
- data-migration
|
- data-migration
|
||||||
- timescale
|
- timescale
|
||||||
- broker
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user