mirror of
https://github.com/searxng/searxng-docker.git
synced 2026-07-17 21:41:27 +00:00
Replace sed separator with pipe (#96)
- base64 random key may contain the `/` character, which conflicts with the sed separator, using `|` as the separator fixes it
This commit is contained in:
@@ -21,7 +21,7 @@ cd /usr/local
|
|||||||
git clone https://github.com/searx/searx-docker.git
|
git clone https://github.com/searx/searx-docker.git
|
||||||
cd searx-docker
|
cd searx-docker
|
||||||
```
|
```
|
||||||
- Generate MORTY_KEY ```sed -i "s/ReplaceWithARealKey\!/$(openssl rand -base64 33)/g" .env```
|
- Generate MORTY_KEY ```sed -i "s|ReplaceWithARealKey\!|$(openssl rand -base64 33)|g" .env```
|
||||||
- Edit the other settings in [.env](https://github.com/searx/searx-docker/blob/master/.env) file according to your need
|
- Edit the other settings in [.env](https://github.com/searx/searx-docker/blob/master/.env) file according to your need
|
||||||
- Check everything is working: ```./start.sh```,
|
- Check everything is working: ```./start.sh```,
|
||||||
- ```cp searx-docker.service.template searx-docker.service```
|
- ```cp searx-docker.service.template searx-docker.service```
|
||||||
|
|||||||
Reference in New Issue
Block a user