From 6b2db5c613c59d2342c17f10dcfa9f9344a8c83b Mon Sep 17 00:00:00 2001 From: "tao.chen" <93983997+taochen-ct@users.noreply.github.com> Date: Fri, 7 Aug 2026 14:03:01 +0800 Subject: [PATCH] fix: docker-compose.yml env var error --- docker-compose.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 11363ef..13e0332 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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