Files

39 lines
1020 B
YAML

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
networks:
- arr_network
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}"
networks:
arr_network:
external: true