services: photo-blog: build: context: . args: - NODE_OPTIONS=--max-old-space-size=1536 extra_hosts: - 'host.docker.internal:host-gateway' container_name: photo-blog restart: unless-stopped ports: - '127.0.0.1:3000:3000' env_file: - .env extra_hosts: - 'host.docker.internal:host-gateway' healthcheck: test: ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost:3000/'] interval: 30s timeout: 10s retries: 3