forked from GRVYDEV/Project-Lightspeed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1.21 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: '3'
services:
lightspeed-ingest:
container_name: lightspeed-ingest
image: projectlightspeed/ingest
#Uncomment below to build locally
# image: lightspeed-ingest
# build:
# context: ./ingest
# dockerfile: Dockerfile
env_file: '.env'
restart: on-failure
ports:
- "${INGEST_PORT}:8084"
lightspeed-react:
container_name: lightspeed-react
image: projectlightspeed/react
#Uncomment below to build locally
# image: lightspeed-react
# build:
# context: ./frontend
# dockerfile: Dockerfile
env_file: '.env'
restart: on-failure
ports:
- "${WEB_PORT}:80"
lightspeed-webrtc:
container_name: lightspeed-webrtc
image: projectlightspeed/webrtc
#Uncomment below to build locally
# image: lightspeed-webrtc
# build:
# context: ./webrtc
# dockerfile: Dockerfile
env_file: '.env'
command: ["lightspeed-webrtc", "--addr=0.0.0.0", "--ip=${WEBSOCKET_HOST}", "--ports=20000-20100", "run"]
restart: on-failure
ports:
- ${WEBSOCKET_PORT}:8080 # WebRTC
- 65535:65535/udp # RTP
- 20000-20100:20000-20100/tcp # WebRTC PeerConnection
- 20000-20100:20000-20100/udp # WebRTC PeerConnection UDP