chore(docker): run the websocket server as a separate command

This commit is contained in:
Alexis Métaireau 2024-05-10 00:39:03 +02:00
parent d43a80b274
commit cf64ed285a
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2

View file

@ -10,4 +10,6 @@ umap wait_for_database
# then migrate the database # then migrate the database
umap migrate umap migrate
# run uWSGI # run uWSGI
exec uwsgi --ini docker/uwsgi.ini exec uwsgi --ini docker/uwsgi.ini &
# run websockets
exec /venv/bin/python /venv/lib/python3.11/site-packages/umap/ws.py