diff --git a/stacks/searxng/compose.yaml b/stacks/searxng/compose.yaml new file mode 100644 index 0000000..b9021e0 --- /dev/null +++ b/stacks/searxng/compose.yaml @@ -0,0 +1,38 @@ +services: + searxng: + image: searxng/searxng:latest + container_name: searxng + environment: + - SEARXNG_BASE_URL=http://192.168.31.100:5080/ + - SEARXNG_SECRET=${SEARXNG_SECRET} + restart: unless-stopped + ports: + - 5080:8080 + volumes: + - /mnt/ssd/apps/searxng:/etc/searxng:rw + cap_drop: + - ALL + cap_add: + - CHOWN + - SETGID + - SETUID + - DAC_OVERRIDE + logging: + driver: json-file + options: + max-size: 1m + max-file: "1" + redis: + image: redis:alpine + container_name: searxng-redis + command: redis-server --save "" --appendonly "no" + restart: unless-stopped + tmpfs: + - /var/lib/redis + cap_drop: + - ALL + cap_add: + - SETGID + - SETUID + - DAC_OVERRIDE +networks: {}