You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
amcrest2mqtt/docker-compose.yaml

26 lines
742 B
YAML

services:
amcrest2mqtt:
image: weirdtangent/amcrest2mqtt:latest
container_name: amcrest2mqtt
restart: unless-stopped
volumes:
- ~/.docker-conf/amcrest2mqtt/config/:/config/
environment:
MQTT_HOST: 10.10.10.1
MQTT_USERNAME: admin
MQTT_PASSWORD: password
MQTT_PREFIX: "amcrest2mqtt"
MQTT_HOMEASSISTANT: "homeassistant"
AMCREST_HOSTS: "10.10.10.20 camera2.local"
AMCREST_NAMES: "frontyard patio"
AMCREST_USERNAME: viewer
AMCREST_PASSWORD: password
HOME_ASSISTANT: true
DEVICE_UPDATE_INTERVAL: 600
DEBUG_MODE: false
healthcheck:
test: ["CMD", "pgrep", "-f", "[p]ython -u app.py"]
interval: 30s
timeout: 10s
retries: 3