fix(docker): update gateway port mapping from 8001 to 8101 for direct access
This commit is contained in:
parent
1ffe32fe00
commit
81bd9b3d74
|
|
@ -123,8 +123,8 @@ services:
|
||||||
command: sh -c "cd backend && uv sync && PYTHONPATH=. uv run uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001 --reload --reload-include='*.yaml .env' > /app/logs/gateway.log 2>&1"
|
command: sh -c "cd backend && uv sync && PYTHONPATH=. uv run uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001 --reload --reload-include='*.yaml .env' > /app/logs/gateway.log 2>&1"
|
||||||
ports:
|
ports:
|
||||||
# Expose to host so DooD-started sandbox containers can reach the gateway
|
# Expose to host so DooD-started sandbox containers can reach the gateway
|
||||||
# via host.docker.internal:8001
|
# via host.docker.internal:8101
|
||||||
- "8001:8001"
|
- "8101:8001"
|
||||||
volumes:
|
volumes:
|
||||||
- ../backend/:/app/backend/
|
- ../backend/:/app/backend/
|
||||||
# Preserve the .venv built during Docker image build — mounting the full backend/
|
# Preserve the .venv built during Docker image build — mounting the full backend/
|
||||||
|
|
|
||||||
|
|
@ -71,8 +71,8 @@ services:
|
||||||
command: sh -c "cd backend && PYTHONPATH=. uv run uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001 --workers 2"
|
command: sh -c "cd backend && PYTHONPATH=. uv run uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001 --workers 2"
|
||||||
ports:
|
ports:
|
||||||
# Expose gateway port for direct access (e.g. for API clients or testing tools like Postman).
|
# Expose gateway port for direct access (e.g. for API clients or testing tools like Postman).
|
||||||
# via host.docker.internal:8001
|
# via host.docker.internal:8101
|
||||||
- "8001:8001"
|
- "8101:8001"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue