version: '3.8' services: web: build: context: . args: NODE_ENV: production ports: - "804:80" restart: always healthcheck: test: ["CMD", "curl", "-f", "http://localhost"] interval: 30s timeout: 10s retries: 3 deploy: resources: limits: cpus: '0.50' memory: 512M logging: driver: "json-file" options: max-size: "10m" max-file: "3"