mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-20 05:38:12 +02:00
fix: SearXNG startup + always visible edit buttons
SearXNG: - Use command override to rm -rf limiter.toml before recreating it - This ensures any directory is removed before creating the file - Mount only settings.yml, create limiter.toml dynamically UI: - Remove opacity-0 from site edit/delete buttons - Buttons are now always visible (not just on hover) - Added title attributes for accessibility
This commit is contained in:
2 files changed
+14
-4
No files matched your search
+11
-1
@@ -61,7 +61,17 @@ services:
|
||||
- SEARXNG_BASE_URL=http://searxng:8080
|
||||
- SEARXNG_SECRET=priceflow-searxng-secret
|
||||
volumes:
|
||||
- ./searxng:/etc/searxng:rw
|
||||
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
|
||||
command: >
|
||||
sh -c "
|
||||
rm -rf /etc/searxng/limiter.toml &&
|
||||
echo '[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 = []' > /etc/searxng/limiter.toml &&
|
||||
/usr/local/searxng/dockerfiles/docker-entrypoint.sh
|
||||
"
|
||||
networks:
|
||||
- nginx_default
|
||||
|
||||
|
||||
Reference in new issue
Block a user