name: nexotoken-radar services: radar-web: build: { context: ., dockerfile: Dockerfile } env_file: ${RADAR_ENV_FILE:-.env.production} restart: unless-stopped extra_hosts: ["host.docker.internal:host-gateway"] ports: ["127.0.0.1:3010:3000"] healthcheck: test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:3000/api/health"] interval: 20s timeout: 5s retries: 3 radar-worker: build: { context: ., dockerfile: Dockerfile.worker } env_file: ${RADAR_ENV_FILE:-.env.production} restart: unless-stopped extra_hosts: ["host.docker.internal:host-gateway"] healthcheck: test: ["CMD", "node", "-e", "process.exit(0)"] interval: 30s timeout: 5s retries: 3