You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
534 B

build:
git clone https://github.com/asciimoo/searx/ && echo "cloned" || echo "not necessary"
cd searx && git checkout v0.14.0
cp settings.yml searx/searx/settings.yml && sed -i "s/ultrasecretkey/$$(date +%s | sha256sum | base64 | head -c 32 ; echo)/" searx/searx/settings.yml
cp gitea.py searx/searx/engines/
cd searx && docker build -t x.osuv.de:4 .
run:
docker run -ti --rm --name searx -e IMAGE_PROXY=True -e BASE_URL=http://127.0.0.1:8888 -p 8888:8888 x.osuv.de:4
update:
docker service update --image=x.osuv.de:4 searx