Add port description to README.md
This commit is contained in:
parent
17357622e1
commit
52009be029
@ -117,10 +117,11 @@ set the `DEBUG` environment variable to `DEBUG=peercalls,peercalls:config`.
|
||||
Additionally, version 3 provides easier configuration via environment
|
||||
variables. For example:
|
||||
|
||||
- Set STUN/TURN servers: `PEERCALLS__ICE_SERVERS='[{"url": "stun:stun.l.google.com:19302", "urls": "stun:stun.l.google.com:19302"}]'
|
||||
- Change base url: `PEERCALLS__BASE_URL=/test`
|
||||
- Set STUN/TURN servers: `PEERCALLS__ICE_SERVERS='[{"url": "stun:stun.l.google.com:19302", "urls": "stun:stun.l.google.com:19302"}]'`
|
||||
- Change base url: `PEERCALLS__BASE_URL=/test` - app will now be accessible at `localhost:3000/test`
|
||||
- Enable HTTPS: `PEERCALLS__SSL='{"cert": "/path/to/cert.pem", "key": "/path/to/cert.key"}'`
|
||||
- Disable HTTPS: `PEERCALLS__SSL=undefined`
|
||||
- Listen on a different port: `PORT=3001`
|
||||
|
||||
See [config/default.yaml][config] for sample configuration.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user