Rely on searxng/settings.yml

This commit is contained in:
Alexandre Flament
2022-03-19 20:16:38 +01:00
parent 8952fad37e
commit 0a1db38e21
6 changed files with 27 additions and 34 deletions

View File

@@ -20,8 +20,9 @@ Create a new SearXNG instance in five minutes using Docker
git clone https://github.com/searxng/searxng-docker.git
cd searxng-docker
```
- Generate the secret key ```sed -i "s|ultrasecretkey|$(openssl rand -hex 32)|g" .env```
- Edit the other settings in [.env](https://github.com/searxng/searxng-docker/blob/master/.env) file according to your need
- Edit the [.env](https://github.com/searxng/searxng-docker/blob/master/.env) file to set the hostname and an email
- Generate the secret key ```sed -i "s|ultrasecretkey|$(openssl rand -hex 32)|g" searxng/settings.yml```
- Edit the [searxng/settings.yml](https://github.com/searxng/searxng-docker/blob/master/searxng/settings.yml) file according to your need
- Check everything is working: ```./start.sh```
- ```cp searxng-docker.service.template searxng-docker.service```
- edit the content of ```WorkingDirectory``` in the ```searxng-docker.service``` file (only if the installation path is different from /usr/local/searxng-docker)