services: gweiparser: build: . image: gweiparser:latest container_name: gweiparser restart: unless-stopped env_file: .env environment: PORT: 3004 ports: - "3004:3004" healthcheck: test: ["CMD", "node", "-e", "fetch('http://localhost:3004/ping').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"] interval: 30s timeout: 5s retries: 3 start_period: 10s