SearXNG: Moved secret to separate file which is not synced with Git.
This commit is contained in:
parent
25d82ea3f8
commit
14f37baf28
3 changed files with 5 additions and 1 deletions
4
searxng/.env.example
Normal file
4
searxng/.env.example
Normal 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
|
|
@ -22,6 +22,7 @@ services:
|
|||
- SETUID
|
||||
environment:
|
||||
- SEARXNG_BASE_URL=https://searx.viyurz.fr/
|
||||
- SEARXNG_SECRET=${SEARXNG_SECRET}
|
||||
networks:
|
||||
- searxng
|
||||
ports:
|
||||
|
|
|
@ -10,7 +10,6 @@ search:
|
|||
autocomplete: "google"
|
||||
|
||||
server:
|
||||
secret_key: "1d744894f2ff45be0990e0bf240456083cfe292a57857c0cdca88915531c2bb7"
|
||||
limiter: true
|
||||
image_proxy: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue