feat: add API to get daily consumption
This commit is contained in:
parent
9c883a8eca
commit
a0acb2950c
18 changed files with 278 additions and 6 deletions
|
|
@ -1,11 +1,24 @@
|
|||
services:
|
||||
consumer:
|
||||
build: ./app
|
||||
image: simugaz/backend:latest
|
||||
command: consumer.py
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- lora-gateway_mqtt
|
||||
- database
|
||||
|
||||
api:
|
||||
build: ./app
|
||||
image: simugaz/backend:latest
|
||||
command: api.py
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8000:8000
|
||||
networks:
|
||||
- public
|
||||
- database
|
||||
|
||||
db:
|
||||
image: postgres:18-alpine
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue