update: add volumes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user