This commit is contained in:
Micha Albert 2024-09-11 16:10:23 -04:00
parent c7746071fc
commit 1c91c56d30
4 changed files with 45 additions and 32 deletions

View file

@ -1,12 +1,13 @@
services:
mediamtx:
network_mode: "host"
build:
context: ./mediamtx
dockerfile: Dockerfile
ports:
- "8889:8889"
- "1935:1935"
- "9997:9997"
# ports:
# - "8889:8889"
# - "1935:1935"
# - "9997:9997"
web-frontend:
ports:
- "4173:4173"
@ -16,8 +17,6 @@ services:
volumes:
- tiling_frontend_build:/usr/src/app/dist
live-stream:
ports:
- "1936:1936"
depends_on:
active_stream_proxy:
condition: service_started
@ -36,17 +35,17 @@ services:
dockerfile: Dockerfile
volumes:
- ./backend/db:/usr/src/app/db
active-stream-proxy:
build:
context: ./active-stream-proxy
dockerfile: Dockerfile
depends_on:
web-frontend:
condition: service_completed_successfully
mediamtx:
condition: service_started
backend:
condition: service_started
# active-stream-proxy:
# build:
# context: ./active-stream-proxy
# dockerfile: Dockerfile
# depends_on:
# web-frontend:
# condition: service_completed_successfully
# mediamtx:
# condition: service_started
# backend:
# condition: service_started
volumes:
mediamtx_recordings:
tiling_frontend_build: