InfluxDB support and dockerisation

This commit is contained in:
2025-10-05 15:22:32 +01:00
parent 05407bb19e
commit 7e7889b157
5 changed files with 238 additions and 11 deletions

16
docker-compose.yaml Normal file
View File

@@ -0,0 +1,16 @@
version: "3.9"
services:
metlogger:
build:
context: .
dockerfile: docker/Dockerfile
restart: unless-stopped
volumes:
- .:/app # optional: mount code for live editing
devices:
- "/dev/ttyACM0:/dev/ttyACM0"
env_file:
- .env
command: python -u meteostick_reader.py