mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 02:13:41 -05:00
more WIP docker stuff
This commit is contained in:
parent
e75f8c944a
commit
8747a8ffe3
7 changed files with 44 additions and 15 deletions
|
|
@ -1,9 +1,12 @@
|
|||
services:
|
||||
mediamtx:
|
||||
network_mode: host
|
||||
build:
|
||||
context: ./mediamtx
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8889:8889"
|
||||
- "1935:1935"
|
||||
- "9997:9997"
|
||||
web-frontend:
|
||||
build:
|
||||
context: ./tiling-frontend
|
||||
|
|
@ -12,8 +15,8 @@ services:
|
|||
- tiling_frontend_build:/usr/src/app/dist
|
||||
live-stream:
|
||||
depends_on:
|
||||
web-frontend:
|
||||
condition: service_completed_successfully
|
||||
active_stream_proxy:
|
||||
condition: service_started
|
||||
build:
|
||||
context: ./live-stream
|
||||
dockerfile: Dockerfile
|
||||
|
|
@ -23,6 +26,8 @@ services:
|
|||
YT_STREAM_KEY: ${YT_STREAM_KEY}
|
||||
backend:
|
||||
env_file: .backend.env
|
||||
ports:
|
||||
- "8000:8000"
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
|
|
@ -37,6 +42,8 @@ services:
|
|||
condition: service_completed_successfully
|
||||
mediamtx:
|
||||
condition: service_started
|
||||
backend:
|
||||
condition: service_started
|
||||
volumes:
|
||||
mediamtx_recordings:
|
||||
tiling_frontend_build:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue