Develop #16

Merged
tao.chen merged 273 commits from develop into main 2026-08-21 10:42:09 +08:00
Showing only changes of commit 6b2db5c613 - Show all commits
+7 -4
View File
@@ -36,7 +36,7 @@ services:
runtime: runtime:
condition: service_healthy condition: service_healthy
volumes: volumes:
- ${pwd}:/app - ${PWD}:/app
- ./default.conf:/etc/nginx/conf.d/default.conf.template:ro - ./default.conf:/etc/nginx/conf.d/default.conf.template:ro
- ./scripts/nginx-entrypoint.sh:/usr/local/bin/model-platform-entrypoint.sh:ro - ./scripts/nginx-entrypoint.sh:/usr/local/bin/model-platform-entrypoint.sh:ro
healthcheck: healthcheck:
@@ -82,8 +82,9 @@ services:
ports: ports:
- 8891:8000 - 8891:8000
volumes: volumes:
- ${pwd}:/app - ${PWD}:/app
- ./data:/data - ./data:/data
- /app/.venv
healthcheck: healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"] test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"]
interval: 10s interval: 10s
@@ -129,8 +130,9 @@ services:
migrate: migrate:
condition: service_completed_successfully condition: service_completed_successfully
volumes: volumes:
- ${pwd}:/app - ${PWD}:/app
- ./data:/data - ./data:/data
- /app/.venv
healthcheck: healthcheck:
test: ["CMD-SHELL", "grep -q ' /data/workspaces .* - fuse.rclone ' /proc/self/mountinfo && curl -fsS http://127.0.0.1:8000/api/v1/health >/dev/null"] test: ["CMD-SHELL", "grep -q ' /data/workspaces .* - fuse.rclone ' /proc/self/mountinfo && curl -fsS http://127.0.0.1:8000/api/v1/health >/dev/null"]
interval: 10s interval: 10s
@@ -164,8 +166,9 @@ services:
backend: backend:
condition: service_healthy condition: service_healthy
volumes: volumes:
- ${pwd}:/app - ${PWD}:/app
- ./data:/data - ./data:/data
- /app/.venv
healthcheck: healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"] test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"]
interval: 10s interval: 10s