diff --git a/docker-compose.yml b/docker-compose.yml index dde0add..b510f9e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,6 +35,10 @@ services: condition: service_healthy runtime: condition: service_healthy + volumes: + - $(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: test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/ >/dev/null"] interval: 10s @@ -78,8 +82,7 @@ services: ports: - 8891:8000 volumes: - - ./backend:/app/backend - - ./common:/app/common + - $(pwd):/app - ./data:/data healthcheck: test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"] @@ -126,7 +129,7 @@ services: migrate: condition: service_completed_successfully volumes: - - ./runtime:/app/runtime + - $(pwd):/app - ./data:/data 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"] @@ -161,7 +164,8 @@ services: backend: condition: service_healthy volumes: - - ./schedule:/app/schedule + - $(pwd):/app + - ./data:/data healthcheck: test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:8000/health/ready >/dev/null"] interval: 10s