From 52009be02941bdf0d51cb3cc7dbad53c1030a8ce Mon Sep 17 00:00:00 2001 From: Jerko Steiner Date: Tue, 19 Nov 2019 00:21:38 -0300 Subject: [PATCH] Add port description to README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2f55cd..1e92d2d 100644 --- a/README.md +++ b/README.md @@ -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.