Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:searxng [2024/08/29 19:55] – willy | services:searxng [2024/11/11 06:54] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| So, as usual create the user, then clone the repository and copy the **docker-compose.yaml**: | So, as usual create the user, then clone the repository and copy the **docker-compose.yaml**: | ||
| <code bash> | <code bash> | ||
| - | useradd -d /deposito/ | + | useradd -d /data/ |
| su - searxng | su - searxng | ||
| git clone https:// | git clone https:// | ||
| Line 43: | Line 43: | ||
| networks: | networks: | ||
| - | | + | |
| ipam: | ipam: | ||
| driver: default | driver: default | ||
| Line 65: | Line 65: | ||
| You can run SearXNG both as a subdomain or a subpath. I prefer the first one because it make it easier to integrate as Firefox default search engine. | You can run SearXNG both as a subdomain or a subpath. I prefer the first one because it make it easier to integrate as Firefox default search engine. | ||
| - | I assume the SearXNG will be reachable as **https;// | + | I assume the SearXNG will be reachable as **https:// |
| Following [[https:// | Following [[https:// | ||
| Line 92: | Line 92: | ||
| proxy_set_header | proxy_set_header | ||
| proxy_set_header | proxy_set_header | ||
| - | |||
| - | # proxy_buffering | ||
| - | # proxy_request_buffering off; | ||
| - | # proxy_buffer_size 8k; | ||
| access_log /dev/null; | access_log /dev/null; | ||
| Line 105: | Line 101: | ||
| and add it to your NGINX configuration. See [[selfhost: | and add it to your NGINX configuration. See [[selfhost: | ||
| - | I have not been able to properly integrate | + | SSO can be added using the **basic** endpoint in Authelia |
| - | + | ||
| - | Using PAM Auth it can work, but Firefox will constantly show an annoying popup telling you that your search engine is going to use your login. | + | |
| - | + | ||
| - | Using Authelia SSO instead, has two main drawbacks: it cannot be added to Firefox unless you temporarily disable Authelia, and subsequently will bug you with a login page every few times you search something. | + | |
| ===== Add to firefox ===== | ===== Add to firefox ===== | ||