mirror of
https://github.com/Tediore/battery2mqtt.git
synced 2025-12-29 00:22:59 +01:00
Initial commit
This commit is contained in:
14
docker-compose.yaml
Normal file
14
docker-compose.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
battery2mqtt:
|
||||
container_name: battery2mqtt
|
||||
image: battery2mqtt:latest
|
||||
environment:
|
||||
- MQTT_HOST=10.0.0.2
|
||||
- MQTT_PORT=1883
|
||||
- MQTT_USER=user
|
||||
- MQTT_PASSWORD=password
|
||||
- MQTT_QOS=1
|
||||
- INTERVAL=60
|
||||
- MONITORED_CONDITIONS=status,capacity
|
||||
volumes:
|
||||
- /sys/class/power_supply:/sys/class/power_supply:ro
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user