File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
44 build :
55 context : .
66 dockerfile : ./backend/api/Dockerfile
7- entrypoint : bash -c " uv run fastapi run api/main.py --reload"
7+ entrypoint : uv run fastapi run api/main.py --root-path=/api -- reload
88 env_file :
99 - ./envs/shared_mcp.env
1010 ports :
@@ -21,6 +21,15 @@ services:
2121 dockerfile : ./backend/mcp/Dockerfile
2222 env_file :
2323 - ./envs/shared_mcp.env
24+ ports :
25+ - 8050:8050
2426 volumes :
2527 - ./backend/mcp:/app/mcp
2628 - ./backend/shared_mcp:/app/shared_mcp
29+
30+ nginx :
31+ image : nginx:1.26.3-alpine
32+ ports :
33+ - 80:80
34+ volumes :
35+ - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change @@ -15,3 +15,19 @@ services:
1515 env_file :
1616 - ./envs/shared_mcp.env
1717 restart : unless-stopped
18+
19+ nginx :
20+ image : nginx:1.26.3-alpine
21+ ports :
22+ - 80:80
23+ volumes :
24+ - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
25+ restart : unless-stopped
26+ depends_on :
27+ api :
28+ condition : service_healthy
29+ healthcheck :
30+ test : curl -f http://localhost/docs
31+ interval : 30s
32+ timeout : 10s
33+ retries : 3
You can’t perform that action at this time.
0 commit comments