towards healthchecks for all containers
This commit is contained in:
@@ -18,4 +18,10 @@ services:
|
||||
- /opt/mediamtx/mediamtx.yml:/mediamtx.yml:ro
|
||||
- /mnt/yotta/radon/mediamtx:/recordings
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9997/v3/paths/list"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
# vlc --network-caching=50 rtsp://192.168.2.200:8554/mystream
|
||||
|
||||
Reference in New Issue
Block a user