Files
trawl/docker-compose.prod.yml
T

29 lines
551 B
YAML

services:
redis:
image: redis:8.8-alpine
restart: always
volumes:
- redis_data:/data
trawl:
image: ghcr.io/germondai/trawl:latest
restart: always
ports:
- "${PORT:-8191}:8191"
shm_size: 1gb
mem_limit: 3g
environment:
REDIS_URL: redis://redis:6379
BROWSER_POOL_SIZE: 5
depends_on:
- redis
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8191/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 90s
volumes:
redis_data: