Commit 15d47829 authored by Romain Loth's avatar Romain Loth

Revert "restore TCP socket instead of unix socket (because more practical through docker)"

(not necessary it actually worked well inside docker)

This reverts commit 3daf2376.
parent 3daf2376
......@@ -18,10 +18,10 @@ fi
# anyway we always need a simple web server to run the services
# echo "binding gunicorn to unix:/tmp/comex.sock"
# gunicorn -b unix:/tmp/comex.sock services.main:app --workers 2
echo "binding gunicorn to unix:/tmp/comex.sock"
gunicorn -b unix:/tmp/comex.sock services.main:app --workers 2
export COMEX_HOST=$(grep -oP '(?<=COMEX_HOST=).*' config/parametres_comex.ini)
export COMEX_PORT=$(grep -oP '(?<=COMEX_PORT=).*' config/parametres_comex.ini)
echo "binding gunicorn to $COMEX_HOST:$COMEX_PORT"
gunicorn -b $COMEX_HOST:$COMEX_PORT services.main:app --workers 8
# export COMEX_HOST=$(grep -oP '(?<=COMEX_HOST=).*' config/parametres_comex.ini)
# export COMEX_PORT=$(grep -oP '(?<=COMEX_PORT=).*' config/parametres_comex.ini)
# echo "binding gunicorn to $COMEX_HOST:$COMEX_PORT"
# gunicorn -b $COMEX_HOST:$COMEX_PORT services.main:app --workers 8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment