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
|
image: bluenviron/mediamtx:latest-ffmpeg
|
||||||
environment:
|
environment:
|
||||||
- MTX_PROTOCOLS=tcp
|
- MTX_PROTOCOLS=tcp
|
||||||
ports:
|
|
||||||
- 8554:8554
|
|
||||||
volumes:
|
volumes:
|
||||||
- "./config/recorder/mediamtx.yml:/mediamtx.yml"
|
- "./config/recorder/mediamtx.yml:/mediamtx.yml"
|
||||||
- "./data/recorder:/recordings"
|
- "./data/recorder:/recordings"
|
||||||
|
# Set local fqdn to use internally in the restreamer
|
||||||
|
hostname: recorder.local
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
|
Loading…
Reference in a new issue