fix: docker-compose.yml

env var error
This commit is contained in:
tao.chen
2026-08-07 14:03:01 +08:00
parent edd560cf84
commit 6b2db5c613
+7 -4
View File
@@ -36,7 +36,7 @@ services:
runtime:
condition: service_healthy
volumes:
- ${pwd}:/app
- ${PWD}:/app
- ./default.conf:/etc/nginx/conf.d/default.conf.template:ro
- ./scripts/nginx-entrypoint.sh:/usr/local/bin/model-platform-entrypoint.sh:ro
healthcheck:
@@ -82,8 +82,9 @@ services:
ports:
- 8891:8000
volumes:
- ${pwd}:/app
- ${PWD}:/app
- ./data:/data
- /app/.venv
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"]
interval: 10s
@@ -129,8 +130,9 @@ services:
migrate:
condition: service_completed_successfully
volumes:
- ${pwd}:/app
- ${PWD}:/app
- ./data:/data
- /app/.venv
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"]
interval: 10s
@@ -164,8 +166,9 @@ services:
backend:
condition: service_healthy
volumes:
- ${pwd}:/app
- ${PWD}:/app
- ./data:/data
- /app/.venv
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"]
interval: 10s