fix: resolve Docker port configuration mismatch (Issue #228) (#373)

This commit is contained in:
Romuald Członkowski
2025-10-25 23:56:54 +02:00
committed by GitHub
parent ee7229b4db
commit 590dc087ac
7 changed files with 46 additions and 13 deletions

View File

@@ -59,10 +59,10 @@ docker compose up -d
- n8n-mcp-data:/app/data
ports:
- "${PORT:-3000}:3000"
- "${PORT:-3000}:${PORT:-3000}"
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/health"]
test: ["CMD", "sh", "-c", "curl -f http://127.0.0.1:$${PORT:-3000}/health"]
interval: 30s
timeout: 10s
retries: 3