refactor(nginx): nginx only handles rtmp connections

Not longer handles frontend & backend. Partially for ease of development and also for separation of concenrs.
This commit is contained in:
2026-05-14 20:20:37 +01:00
parent 265a96acc1
commit 2e6679cb89
4 changed files with 26 additions and 57 deletions

View File

@@ -21,6 +21,8 @@ services:
- .env
environment:
FRONTEND_URL: http://localhost
ports:
- "8080:8080"
restart: unless-stopped
frontend:
@@ -35,18 +37,19 @@ services:
VITE_GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
depends_on:
- backend
ports:
- "1935:1935"
restart: unless-stopped
nginx:
rtmp:
build:
context: ./nginx
dockerfile: Dockerfile
container_name: vod_nginx
container_name: vod_rtmp
depends_on:
- backend
- frontend
ports:
- "80:80"
- "1935:1935"
volumes:
- ${STREAM_DATA}:/stream