fix: docker-compose.yml
env var error
This commit is contained in:
+7
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user