From ab741856cbc50d291136a1506b7a000c5873e7d1 Mon Sep 17 00:00:00 2001 From: edschuy95 Date: Mon, 14 Jul 2025 00:00:26 -0400 Subject: [PATCH] Assuming more available cores for gunicorn. Updated readme. --- Dockerfile | 4 ++-- README.md | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 200369f..f44db1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,5 +23,5 @@ COPY . . # Expose Flask port EXPOSE 5000 -# Launch Gunicorn with 4 workers (adjust for your CPU cores) -CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app", "--workers", "4"] \ No newline at end of file +# Launch Gunicorn with 8 workers (adjust for your CPU cores) +CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app", "--workers", "8"] \ No newline at end of file diff --git a/README.md b/README.md index af99624..9ea4f9a 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,17 @@ Git clone copy config.template.py to config.py and edit docker-compose up -d --build + +see config.py (config.template.py) for more info + +------------------------------------------- + +Yeastar stuff: + +In the API key section for the SMS channel, enter your voip.ms API credentials separated by ||| like so: + +api_username|||api_password + +Voip.ms stuff: + +Just point them to the voip.ms endpoint. \ No newline at end of file