mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-11 17:29:14 +02:00
Merge pull request #20 from R0m1k3/claude/design-product-search-01Ea9dWZqZpuKFwBwVmp26PG
fix: Simplify SearXNG config + add DNS servers
This commit is contained in:
1 file changed
+4
-7
+4
-7
@@ -62,13 +62,10 @@ services:
|
||||
- SEARXNG_SECRET=priceflow-searxng-secret
|
||||
volumes:
|
||||
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
rm -rf /etc/searxng/limiter.toml
|
||||
printf '[botdetection.ip_limit]\nlink_token = false\n\n[botdetection.ip_lists]\npass_ip = ["0.0.0.0/0", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "10.0.0.0/8", "::/0"]\nblock_ip = []\n' > /etc/searxng/limiter.toml
|
||||
exec /usr/local/searxng/dockerfiles/docker-entrypoint.sh
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
||||
- 1.1.1.1
|
||||
networks:
|
||||
- nginx_default
|
||||
|
||||
|
||||
Reference in new issue
Block a user