set internal fqdn hostname for the recorder and disable exposed ports

This commit is contained in:
deflax 2024-01-05 02:27:20 +00:00
parent 16127a83f2
commit cf78610a70

View file

@ -75,11 +75,11 @@ services:
image: bluenviron/mediamtx:latest-ffmpeg
environment:
- MTX_PROTOCOLS=tcp
ports:
- 8554:8554
volumes:
- "./config/recorder/mediamtx.yml:/mediamtx.yml"
- "./data/recorder:/recordings"
# Set local fqdn to use internally in the restreamer
hostname: recorder.local
restart: unless-stopped
networks:
- net