mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 02:03:41 -05:00
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
services:
|
|
mediamtx:
|
|
network_mode: "host"
|
|
build:
|
|
context: ./mediamtx
|
|
dockerfile: Dockerfile
|
|
# ports:
|
|
# - "8889:8889"
|
|
# - "1935:1935"
|
|
# - "9997:9997"
|
|
web-frontend:
|
|
ports:
|
|
- "4173:4173"
|
|
build:
|
|
context: ./tiling-frontend
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- tiling_frontend_build:/usr/src/app/dist
|
|
live-stream:
|
|
network_mode: "host"
|
|
env_file: .stream.env
|
|
depends_on:
|
|
backend:
|
|
condition: service_started
|
|
web-frontend:
|
|
condition: service_started
|
|
build:
|
|
context: ./live-stream
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- tiling_frontend_build:/html
|
|
backend:
|
|
network_mode: "host"
|
|
env_file: .backend.env
|
|
build:
|
|
context: ./backend
|
|
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
|
|
volumes:
|
|
mediamtx_recordings:
|
|
tiling_frontend_build:
|