SearXNG: Moved secret to separate file which is not synced with Git.

This commit is contained in:
Viyurz 2024-01-08 17:21:59 +01:00
parent 25d82ea3f8
commit 14f37baf28
3 changed files with 5 additions and 1 deletions

4
searxng/.env.example Normal file
View file

@ -0,0 +1,4 @@
# Generate secret with:
# $ cat /dev/urandom | tr -dc 'a-z-A-Z-0-9' | head -c 50
SEARXNG_SECRET=XXX

View file

@ -22,6 +22,7 @@ services:
- SETUID - SETUID
environment: environment:
- SEARXNG_BASE_URL=https://searx.viyurz.fr/ - SEARXNG_BASE_URL=https://searx.viyurz.fr/
- SEARXNG_SECRET=${SEARXNG_SECRET}
networks: networks:
- searxng - searxng
ports: ports:

View file

@ -10,7 +10,6 @@ search:
autocomplete: "google" autocomplete: "google"
server: server:
secret_key: "1d744894f2ff45be0990e0bf240456083cfe292a57857c0cdca88915531c2bb7"
limiter: true limiter: true
image_proxy: true image_proxy: true