live-sfu-demo/deploy/docker-compose.yml

17 lines
452 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
# SRS:本地对照 SFU(WHIP/WHEP)。媒体走 :8000,信令/HTTP API 走 :1985。
srs:
image: ossrs/srs:6
container_name: live-sfu-srs
ports:
- "1935:1935"
- "1985:1985"
- "8080:8080"
- "8000:8000/udp"
- "8000:8000/tcp"
environment:
CANDIDATE: "${SRS_CANDIDATE:-127.0.0.1}"
volumes:
- ./srs.conf:/usr/local/srs/conf/srs.conf:ro
command: ./objs/srs -c conf/srs.conf