version: "3.8" services: site-parser: build: . container_name: site-parser-worker restart: unless-stopped env_file: .env ports: - "8080:8080" shm_size: 512mb healthcheck: test: - CMD - python - -c - import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/health', timeout=5) interval: 10s timeout: 5s retries: 6 start_period: 20s