's'
This commit is contained in:
16
services/srs/docker-compose.yml
Normal file
16
services/srs/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
version: "3.3"
|
||||
|
||||
services:
|
||||
srs:
|
||||
image: ossrs/srs:5
|
||||
container_name: live-srs
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${SRS_RTMP_PORT:-1935}:1935"
|
||||
- "${SRS_API_PORT:-1985}:1985"
|
||||
- "${SRS_HTTP_PORT:-8080}:8080"
|
||||
- "${SRS_SRT_PORT:-10080}:10080/udp"
|
||||
volumes:
|
||||
- ./conf/srs.conf:/usr/local/srs/conf/live.conf:ro
|
||||
- ./data:/usr/local/srs/objs/nginx/html
|
||||
command: ["./objs/srs", "-c", "conf/live.conf"]
|
||||
Reference in New Issue
Block a user