version: '3.8' services: extract: build: context: . dockerfile: Dockerfile container_name: extract-docker ports: - "3000:3000" environment: - NODE_ENV=production - PORT=3000 - INSTANCES=1 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/health"] interval: 30s timeout: 10s retries: 3 start_period: 20s restart: unless-stopped logging: driver: "json-file" options: max-size: "10m" max-file: "3"