From 386efb4d98af7351169a12d316ba2bb366044ef3 Mon Sep 17 00:00:00 2001 From: "tao.chen" <93983997+taochen-ct@users.noreply.github.com> Date: Mon, 3 Aug 2026 13:55:41 +0800 Subject: [PATCH] update: add volumes --- docker-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9ab739f..99bb6e4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,6 +34,8 @@ services: condition: service_healthy runtime: condition: service_healthy + volumes: + - ./frontend/build/client:/usr/share/nginx/html healthcheck: test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/ >/dev/null"] interval: 10s @@ -66,6 +68,9 @@ services: condition: service_completed_successfully runtime: condition: service_healthy + volumes: + - ./backend:/app/backend + - ./common:/app/common healthcheck: test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"] interval: 10s @@ -102,6 +107,8 @@ services: depends_on: migrate: condition: service_completed_successfully + volumes: + - ./runtime:/app/runtime healthcheck: test: - CMD-SHELL @@ -133,6 +140,8 @@ services: depends_on: backend: condition: service_healthy + volumes: + - ./schedule:/app/schedule healthcheck: test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"] interval: 10s