version: '3.8' services: web: build: context: . dockerfile: Dockerfile ports: - '3000:3000' restart: always environment: - NODE_ENV=production healthcheck: test: [ 'CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:3000', ] interval: 30s timeout: 10s retries: 3