Fix SearxNG crash loop: make settings.yml readable inside the container.
Container runs as non-root; mode 0640 owned by westfarn caused PermissionError on /etc/searxng/settings.yml and a restart loop. Also lengthen the default secret_key to >= 32 chars.
This commit is contained in:
@@ -13,7 +13,8 @@ searxng_container_port: 8080
|
||||
searxng_base_url: "http://{{ ansible_host }}:{{ searxng_host_port }}/"
|
||||
|
||||
# Override via host_vars or vault; must be stable across restarts.
|
||||
searxng_secret_key: "CHANGE_ME_SEARXNG_SECRET"
|
||||
# SearxNG expects a long random string (use >= 32 chars).
|
||||
searxng_secret_key: "change-me-searxng-secret-key-32chars"
|
||||
|
||||
# LAN CIDR allowed to hit the JSON API (same pattern as observability).
|
||||
searxng_ufw_from: "{{ ufw_ssh_allowed_network }}"
|
||||
|
||||
Reference in New Issue
Block a user