mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
26 lines
570 B
YAML
26 lines
570 B
YAML
services:
|
|
dragonfly:
|
|
image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.39.0
|
|
volumes:
|
|
- dragonfly_data:/data
|
|
|
|
trawl:
|
|
image: ghcr.io/germondai/trawl:latest
|
|
ports:
|
|
- "${PORT:-8191}:8191"
|
|
shm_size: 1gb
|
|
environment:
|
|
REDIS_URL: redis://dragonfly:6379
|
|
BROWSER_POOL_SIZE: ${BROWSER_POOL_SIZE:-3}
|
|
depends_on:
|
|
- dragonfly
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-sf", "http://localhost:8191/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 90s
|
|
|
|
volumes:
|
|
dragonfly_data:
|