created flaresolverr
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
app:
|
||||
image: ghcr.io/flaresolverr/flaresolverr:${FLARESOLVERR_VERSION:-latest}
|
||||
container_name: flaresolverr
|
||||
environment:
|
||||
- LOG_LEVEL=${FLARESOLVERR_LOG_LEVEL:-info}
|
||||
- LOG_HTML=false
|
||||
- CAPTCHA_SOLVER=${FLARESOLVERR_CAPTCHA_SOLVER:-none}
|
||||
- TZ=${FLARESOLVERR_TZ:-America/Los_Angeles}
|
||||
volumes:
|
||||
- flaresolverr-config:/config
|
||||
ports:
|
||||
- ${FLARESOLVERR_PORT:-8191}:8191
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8191/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512m
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
flaresolverr-config:
|
||||
name: flaresolverr-config
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=${FLARESOLVERR_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
|
||||
device: "${FLARESOLVERR_NFS_DEVICE}"
|
||||
Reference in New Issue
Block a user