Add permission-scoped MCP, readiness checks, and management UI improvements
This commit is contained in:
+11
-1
@@ -39,13 +39,23 @@ services:
|
||||
depends_on:
|
||||
migrate: {condition: service_completed_successfully}
|
||||
healthcheck:
|
||||
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3000/api/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3000/api/health/ready',{signal:AbortSignal.timeout(4000)}).then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 20s
|
||||
retries: 3
|
||||
worker:
|
||||
<<: *runtime
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DATABASE_URL: postgres://manyangles:${POSTGRES_PASSWORD:?Set POSTGRES_PASSWORD}@postgres:5432/manyangles
|
||||
WORKER_HEALTH_PORT: "3001"
|
||||
healthcheck:
|
||||
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:3001/health',{signal:AbortSignal.timeout(4000)}).then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 30s
|
||||
retries: 3
|
||||
build: {context: ., target: worker}
|
||||
depends_on:
|
||||
migrate: {condition: service_completed_successfully}
|
||||
|
||||
Reference in New Issue
Block a user