fix: make gunicorn listen on 0.0.0.0

This commit is contained in:
zuk 2024-10-13 19:02:40 +02:00
parent 313f23e23c
commit 2f96991294

View file

@ -12,4 +12,4 @@ RUN bash -c '/venv/bin/pip install -r requirements.txt; \
/venv/bin/python manage.py migrate ; \
/venv/bin/python manage.py collectstatic --noinput'
EXPOSE 4000
CMD ["/venv/bin/gunicorn","wg_manager.wsgi","0.0.0.0:4000"]
CMD ["/venv/bin/gunicorn","wg_manager.wsgi","-b0.0.0.0:4000"]