Update docker-compose.yml

This commit is contained in:
Santiago Lo Coco 2024-10-13 18:45:03 +02:00
parent ae9bad88c1
commit 30269bdc4e
1 changed files with 6 additions and 6 deletions

View File

@ -8,16 +8,16 @@ services:
- MTX_WEBRTCADDITIONALHOSTS=192.168.137.1 - MTX_WEBRTCADDITIONALHOSTS=192.168.137.1
image: bluenviron/mediamtx image: bluenviron/mediamtx
ports: ports:
- 8200:8200 - 8100:8100
- 8201:8201/udp - 8101:8101/udp
volumes: volumes:
- ./mediamtx/mediamtx_2.yml:/mediamtx.yml - ./mediamtx/mediamtx_1.yml:/mediamtx.yml
mediamtx-2: mediamtx-2:
<<: *default <<: *default
container_name: mediamtx-2 container_name: mediamtx-2
ports: ports:
- 8100:8100 - 8200:8200
- 8101:8101/udp - 8201:8201/udp
volumes: volumes:
- ./mediamtx/mediamtx_1.yml:/mediamtx.yml - ./mediamtx/mediamtx_2.yml:/mediamtx.yml