mirror of
https://github.com/Tediore/battery2mqtt.git
synced 2025-12-29 00:22:59 +01:00
code refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
battery2mqtt:
|
||||
container_name: battery2mqtt
|
||||
image: battery2mqtt:latest
|
||||
image: tediore/battery2mqtt:latest
|
||||
environment:
|
||||
- MQTT_HOST=10.0.0.2
|
||||
- MQTT_PORT=1883
|
||||
@@ -13,6 +13,8 @@
|
||||
- BATTERY_HEALTH=1
|
||||
- TIME_REMAINING=1
|
||||
- SHOW_UNITS=1
|
||||
- AC_ADAPTER=1
|
||||
- LOG_LEVEL=info
|
||||
volumes:
|
||||
- /sys/class/power_supply:/sys/class/power_supply:ro
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user