From 4bcc6208bc9669da23e9d7fd7771cf8a1f85b262 Mon Sep 17 00:00:00 2001 From: oshinongit Date: Fri, 15 Dec 2023 15:24:30 +0100 Subject: [PATCH] feat: readme updated with env vars --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/readme.md b/readme.md index 240a24b..ed33d9c 100644 --- a/readme.md +++ b/readme.md @@ -19,9 +19,18 @@ Start an Intercom Manager instance: docker run -d -p 8000:8000 \ -e PORT=8000 \ -e SMB_ADDRESS=http://: \ + -e SMB_POLL=true \ + -e SMB_POLL_INTERVAL_S=60 \ eyevinntechnology/intercom-manager ``` +``` + PORT=8000 intercom-manager api port. + SMB_ADDRESS=http://: The address:port of the Symphony Media Bridge instance. + SMB_POLL=true Activate regular interval polling to remove unused endpoints. Defaults to false. + SMB_POLL_INTERVAL_S=60 Polling interval length in seconds. Defaults to 60. Api will never poll more often than every 20s. +``` + API docs is then available on `http://localhost:8000/docs/` ## Development