set internal fqdn hostname for the recorder and disable exposed ports
This commit is contained in:
parent
16127a83f2
commit
cf78610a70
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue