fix(docker): bind webui to 0.0.0.0 for container deployment
The CMD ran 'python src/webui/app.py' which defaults to --host 127.0.0.1, unreachable from outside the container. Bind 0.0.0.0:5000 explicitly. No --dev flag => PRODUCTION mode (admin routes 404). Deployed at ietf.nennemann.de (see dev-journal).
This commit is contained in:
@@ -21,4 +21,6 @@ ENV PYTHONUNBUFFERED=1
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["python", "src/webui/app.py"]
|
||||
# Bind 0.0.0.0 so the container is reachable from the host/reverse proxy.
|
||||
# No --dev flag => PRODUCTION mode (admin routes return 404).
|
||||
CMD ["python", "src/webui/app.py", "--host", "0.0.0.0", "--port", "5000"]
|
||||
|
||||
Reference in New Issue
Block a user