Files
new_vk_parser/site_parser_worker/docker-compose.yml
T
2026-08-10 23:11:09 +05:00

22 lines
442 B
YAML

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