mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 15:48:11 +02:00
Merge pull request #16 from R0m1k3/claude/design-product-search-01Ea9dWZqZpuKFwBwVmp26PG
fix: Mount entire searxng directory instead of individual files
This commit is contained in:
1 file changed
+1
-14
+1
-14
@@ -61,20 +61,7 @@ services:
|
|||||||
- SEARXNG_BASE_URL=http://searxng:8080
|
- SEARXNG_BASE_URL=http://searxng:8080
|
||||||
- SEARXNG_SECRET=priceflow-searxng-secret
|
- SEARXNG_SECRET=priceflow-searxng-secret
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
- ./searxng:/etc/searxng:rw
|
||||||
entrypoint: /bin/sh
|
|
||||||
command:
|
|
||||||
- -c
|
|
||||||
- |
|
|
||||||
rm -rf /etc/searxng/limiter.toml
|
|
||||||
cat > /etc/searxng/limiter.toml << 'EOF'
|
|
||||||
[botdetection.ip_limit]
|
|
||||||
link_token = false
|
|
||||||
[botdetection.ip_lists]
|
|
||||||
pass_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"]
|
|
||||||
block_ip = []
|
|
||||||
EOF
|
|
||||||
exec /usr/local/searxng/dockerfiles/docker-entrypoint.sh
|
|
||||||
networks:
|
networks:
|
||||||
- nginx_default
|
- nginx_default
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user