srs/docker-compose.yaml
Jason-JP-Yang d887d2b867 Addition Features: Custom Homepage and WHEP player
1. DVR record apply support regex, for usage: please enter
    config file -dvr_apply and start regex with /^xxx$/
2. Add custom homepage for player, enter the url
    localhost:8080/players/homepage.html to access
3. Add WHEP player, enter the url localhost:8080/players/whep_itp.html
4. Convert Files Format from CRLF to LF (Windows to Linux)

* Known Issues:
1. There is a unsmooth swup between hompage and player page, Swup.js
    will be used to fix this issue in the future.
2025-05-13 23:35:28 +08:00

29 lines
709 B
YAML

name: OSSR-SRS
services:
srs:
container_name: SRS-Streaming-Server
# image: ossrs/srs:v6.0.166
# image: itprefects/srs:v6.0.166.1h
image: itprefects/srs:v6.0.166.2b
restart: unless-stopped
environment:
- SRS_DAEMON=off
- SRS_IN_DOCKER=on
- CANDIDATE=127.0.0.1
working_dir: /usr/local/srs
ports:
- "10080:10080/udp"
- "1935:1935"
- "1985:1985"
- "1990:1990"
- "5060:5060"
- "8000:8000/udp"
- "8080:8080"
- "8088:8088"
- "9000:9000"
volumes:
- ./docker_data/config:/usr/local/srs/conf
- ./docker_data/DVR_Record:/usr/local/srs/DVR_Record
- ./docker_data/objects:/usr/local/srs/objs