Assuming more available cores for gunicorn. Updated readme.

This commit is contained in:
edschuy95 2025-07-14 00:00:26 -04:00
parent 6fdae317f9
commit ab741856cb
2 changed files with 16 additions and 2 deletions

View file

@ -23,5 +23,5 @@ COPY . .
# Expose Flask port # Expose Flask port
EXPOSE 5000 EXPOSE 5000
# Launch Gunicorn with 4 workers (adjust for your CPU cores) # Launch Gunicorn with 8 workers (adjust for your CPU cores)
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app", "--workers", "4"] CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app", "--workers", "8"]

View file

@ -3,3 +3,17 @@ Git clone
copy config.template.py to config.py and edit copy config.template.py to config.py and edit
docker-compose up -d --build 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.