mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-19 21:28:26 +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
|
- SEARXNG_SECRET=priceflow-searxng-secret
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
||||||
command:
|
dns:
|
||||||
- sh
|
- 8.8.8.8
|
||||||
- -c
|
- 8.8.4.4
|
||||||
- |
|
- 1.1.1.1
|
||||||
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
|
|
||||||
networks:
|
networks:
|
||||||
- nginx_default
|
- nginx_default
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user