feat: add API to get daily consumption

This commit is contained in:
Alexis Fourmaux 2026-05-10 12:36:38 +02:00
parent 9c883a8eca
commit a0acb2950c
18 changed files with 278 additions and 6 deletions

View file

@ -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