20 lines
472 B
YAML
20 lines
472 B
YAML
---
|
|
version: "3.8"
|
|
services:
|
|
temp2mqtt:
|
|
image: sthopeless/temp2mqtt:latest
|
|
container_name: temp2mqtt
|
|
network_mode: bridge
|
|
environment:
|
|
- PGID=1000
|
|
- PUID=1000
|
|
- PROXMOX_NAME=proxmox_name
|
|
- MQTT_BROKER=mqtt_ip
|
|
- USERNAME=mqtt_username
|
|
- PASSWORD=mqtt_password
|
|
volumes:
|
|
- /sys/class/thermal/thermal_zone2/temp:/temp:ro
|
|
restart: unless-stopped
|
|
labels:
|
|
- com.centurylinklabs.watchtower.enable=true
|