mirror of
https://github.com/germondai/trawl.git
synced 2026-08-17 12:11:23 +02:00
feat: add production docker-compose configuration
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
|
||||
trawl:
|
||||
image: ghcr.io/germondai/trawl:latest
|
||||
restart: always
|
||||
ports:
|
||||
- "8191:8191"
|
||||
shm_size: 1gb
|
||||
mem_limit: 3g
|
||||
environment:
|
||||
REDIS_URL: redis://redis:6379
|
||||
BROWSER_POOL_SIZE: 5
|
||||
depends_on:
|
||||
- redis
|
||||
healthcheck:
|
||||
test: wget -qO- http://localhost:8191/health
|
||||
interval: 30s
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
Reference in New Issue
Block a user