services: emailer: build: . ports: - "4500:4000" env_file: - .env environment: - HOST=0.0.0.0 - RUST_LOG=info restart: unless-stopped healthcheck: test: ["CMD-SHELL", "curl -f http://localhost:4000/health || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 10s