Add configuration files for SRS SIP and update README with Docker commands
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -23,4 +23,5 @@
|
||||
hs_err_pid*
|
||||
objs
|
||||
.idea
|
||||
./run
|
||||
|
||||
run
|
||||
|
||||
@ -1,4 +1,13 @@
|
||||
# note to me
|
||||
|
||||
```bash
|
||||
docker compose build --network host
|
||||
```
|
||||
|
||||
```
|
||||
docker compose up -d --force-recreate
|
||||
```
|
||||
|
||||
# TODO
|
||||
|
||||
- [ ] let user choose whether use mirror (use which mirror) when building Dockerfile
|
||||
|
||||
@ -14,7 +14,10 @@ services:
|
||||
- ./run/conf/config.yaml:/usr/local/srs-sip/config.yaml:ro
|
||||
- ./run/logs:/usr/local/srs-sip/logs
|
||||
- ./run/srs/conf/srs.conf:/usr/local/srs/conf/srs.conf:ro
|
||||
# use docker logs
|
||||
- ./run/srs/logs:/var/log/srs/
|
||||
# for recording
|
||||
- ./run/data:/data
|
||||
ports:
|
||||
# SRS RTMP
|
||||
- "1985:1985"
|
||||
|
||||
Reference in New Issue
Block a user