From 5b55c80529fcd59b7e200471f2ecb1eaa080c40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Fri, 10 May 2024 00:39:03 +0200 Subject: [PATCH] chore(docker): run the websocket server as a separate command --- docker/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 8ed7fdfb..b8ea2d4d 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -10,4 +10,6 @@ umap wait_for_database # then migrate the database umap migrate # 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