Files
solidtime-mcp/docker-compose.yml
Danijel 098ae2d2bd fix: resolve EADDRINUSE and Traefik routing issues
Remove host port binding from docker-compose to avoid port conflicts
and add dokploy-network for proper Traefik discovery. Add graceful
error handling for EADDRINUSE in HTTP server.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 01:11:02 +01:00

22 lines
592 B
YAML

services:
solidtime-mcp:
build: .
environment:
- PORT=3045
# Optional: default SolidTime API URL for all sessions.
# Clients can override this via the x-solidtime-api-url header.
- SOLIDTIME_API_URL=${SOLIDTIME_API_URL:-https://app.solidtime.io}
restart: unless-stopped
networks:
- dokploy-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3045/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
dokploy-network:
external: true