|
|
|
@ -11,6 +11,12 @@ services:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- TZ=${TZ:-UTC}
|
|
|
|
- TZ=${TZ:-UTC}
|
|
|
|
- CONFIG_PATH=/config/config.yaml
|
|
|
|
- CONFIG_PATH=/config/config.yaml
|
|
|
|
|
|
|
|
healthcheck:
|
|
|
|
|
|
|
|
test: ["CMD", "python3", "/app/src/healthcheck.py"]
|
|
|
|
|
|
|
|
interval: 60s
|
|
|
|
|
|
|
|
timeout: 5s
|
|
|
|
|
|
|
|
retries: 3
|
|
|
|
|
|
|
|
start_period: 20s
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
org.opencontainers.image.title: "amcrest2mqtt"
|
|
|
|
org.opencontainers.image.title: "amcrest2mqtt"
|
|
|
|
org.opencontainers.image.description: "Publishes Amcrest camera events and states via MQTT"
|
|
|
|
org.opencontainers.image.description: "Publishes Amcrest camera events and states via MQTT"
|
|
|
|
|