diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..c288a21 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,20 @@ +services: + dahuavto2mqtt: + image: "baudneo/dahuavto2mqtt:latest" + container_name: "dahuavto2mqtt" + hostname: "dahuavto2mqtt" + restart: "unless-stopped" + environment: + - DAHUA_VTO_HOST=ip.of.vto.host + - DAHUA_VTO_USERNAME=Username + - DAHUA_VTO_PASSWORD=Password + - MQTT_BROKER_HOST=mqtt-host + - MQTT_BROKER_PORT=1883 + - MQTT_BROKER_USERNAME=Username + - MQTT_BROKER_PASSWORD=Password + - MQTT_BROKER_TOPIC_PREFIX=DahuaVTO + - MQTT_BROKER_CLIENT_ID=DahuaVTO2MQTT + - MQTT_DEBUG=False + - API_DEBUG=False + - KEEPALIVE_DEBUG=False + - TZ=America/Chicago \ No newline at end of file