Assuming more available cores for gunicorn. Updated readme.
This commit is contained in:
parent
6fdae317f9
commit
ab741856cb
2 changed files with 16 additions and 2 deletions
|
|
@ -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"]
|
||||||
14
README.md
14
README.md
|
|
@ -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.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue