fix: docker-compose.yml

env var error
This commit is contained in:
tao.chen
2026-08-07 14:01:17 +08:00
parent 96f9a5c644
commit edd560cf84
+4 -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,7 +82,7 @@ services:
ports: ports:
- 8891:8000 - 8891:8000
volumes: volumes:
- $(pwd):/app - ${pwd}:/app
- ./data:/data - ./data:/data
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"]
@@ -129,7 +129,7 @@ services:
migrate: migrate:
condition: service_completed_successfully condition: service_completed_successfully
volumes: volumes:
- $(pwd):/app - ${pwd}:/app
- ./data:/data - ./data:/data
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"]
@@ -164,7 +164,7 @@ services:
backend: backend:
condition: service_healthy condition: service_healthy
volumes: volumes:
- $(pwd):/app - ${pwd}:/app
- ./data:/data - ./data:/data
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"]