searx installer: fix line edits
This commit is contained in:
parent
aac374f505
commit
df472215b2
1 changed files with 3 additions and 5 deletions
|
|
@ -10,12 +10,10 @@ systemctl start docker
|
|||
cd /usr/local/
|
||||
git clone https://github.com/searx/searx-docker.git
|
||||
cd searx-docker/
|
||||
sed -iE "/SEARX_HOSTNAME/ s/^#\s*//" .env
|
||||
sed -i "/SEARX_HOSTNAME/ s/=.*/=searx.codehal.de/" .env
|
||||
sed -iE "/LETSENCRYPT_EMAIL/ s/^#\s*//" .env
|
||||
sed -i "/LETSENCRYPT_EMAIL/ s/=.*/=webmaster@codehal.de/" .env
|
||||
echo "SEARX_HOSTNAME=searx.codehal.de" >> .env
|
||||
echo "LETSENCRYPT_EMAIL=webmaster@codehal.de" >> .env
|
||||
key=$(openssl rand -hex 22)
|
||||
sed -i "/MORTY_KEY/ s/=.*/=$key/" .env
|
||||
sed -i "/^MORTY_KEY/ s/=.*/=$key/" .env
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue