diff --git a/config.json b/config.json index 4df4a20..59171a8 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,8 @@ { - "mqtt_url": "mqtt://localhost:1883", + "mqtt_url": "mqtt://mqtt-user:G00d.Night@192.168.4.20:1883", "mqtt_options": "", - "livestream_user": "", - "livestream_pass": "", + "livestream_user": "mqtt-user", + "livestream_pass": "G00d.Night", "disarm_code": "", "enable_cameras": true, "enable_modes": false, diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..e142d58 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,15 @@ +version: "3.7" + +services: + ring-mqtt: + container_name: ring-mqtt + restart: unless-stopped + image: tsightler/ring-mqtt + ports: + - 8554:8554 # Enable RTSP port for external media player access + volumes: + - /home/mattspeer/docker/ring-mqtt/data:/data # Mapping of local folder to provide persistent storage + logging: #limit logs to 10m and 3 files + options: + max-size: 10m + max-file: "3" \ No newline at end of file