Add searx install script
This commit is contained in:
parent
d6b3f48f5d
commit
714e1c4f0d
1 changed files with 18 additions and 0 deletions
18
searx/install.sh
Executable file
18
searx/install.sh
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# curl -sSL https://git.codehal.de/steffen/docker-scripts/raw/branch/master/searx/install.sh | sh
|
||||
#
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update && apt-get -y upgrade
|
||||
apt-get -y --no-install-recommends install git docker.io docker-compose
|
||||
systemctl enable docker
|
||||
systemctl start docker
|
||||
cd /usr/local/
|
||||
git clone https://github.com/searx/searx-docker.git
|
||||
cd searx-docker/
|
||||
sed -i "/^SEARX_HOSTNAME/ s/=.*/=searx.codehal.de/" .env
|
||||
key=$(openssl rand -hex 22)
|
||||
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