Compare commits
8 Commits
1fd7a5d4f7
...
8082fe0823
| Author | SHA1 | Date |
|---|---|---|
|
|
8082fe0823 | |
|
|
ecf8e11ece | |
|
|
8554423f4e | |
|
|
1248084650 | |
|
|
138b4a1f7d | |
|
|
612f1cdb9f | |
|
|
0abf5aaff0 | |
|
|
c2464c3449 |
|
|
@ -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:8101
|
# via host.docker.internal:8001
|
||||||
- "8101:8001"
|
- "8001: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:8101
|
# via host.docker.internal:8001
|
||||||
- "8101:8001"
|
- "8001: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