searx installer: customize variables
This commit is contained in:
parent
714e1c4f0d
commit
1ba4974925
1 changed files with 5 additions and 2 deletions
|
|
@ -10,9 +10,12 @@ systemctl start docker
|
||||||
cd /usr/local/
|
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/
|
||||||
sed -i "/^SEARX_HOSTNAME/ s/=.*/=searx.codehal.de/" .env
|
sed -i "/SEARX_HOSTNAME/ s/^#//" .env
|
||||||
|
sed -i "/SEARX_HOSTNAME/ s/=.*/=searx.codehal.de/" .env
|
||||||
|
sed -i "/LETSENCRYPT_EMAIL/ s/^#//" .env
|
||||||
|
sed -i "/LETSENCRYPT_EMAIL/ s/=.*/=webmaster@codehal.de/" .env
|
||||||
key=$(openssl rand -hex 22)
|
key=$(openssl rand -hex 22)
|
||||||
sed -i "/^MORTY_KEY/ s/=.*/=$key/" .env
|
sed -i "/MORTY_KEY/ s/=.*/=$key/" .env
|
||||||
docker-compose pull
|
docker-compose pull
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue