fix: Use custom entrypoint script for SearXNG limiter.toml

- Create entrypoint.sh script that creates limiter.toml before SearXNG starts
- Script removes any existing limiter.toml (file or directory) first
- Then creates proper limiter.toml with bot detection bypass
- Finally executes the original SearXNG entrypoint
- This approach is more reliable than inline commands
This commit is contained in:
Claude committed 2025-11-22 13:55:35 +00:00
1 parent 18372e870f
commit 1f51dace41
2 files changed
+29

No files matched your search

+2
View File
@@ -62,6 +62,8 @@ services:
- SEARXNG_SECRET=priceflow-searxng-secret
volumes:
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
- ./searxng/entrypoint.sh:/entrypoint.sh:ro
entrypoint: ["/bin/sh", "/entrypoint.sh"]
dns:
- 8.8.8.8
- 8.8.4.4