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.

Makefile 534B

123456789101112
  1. build:
  2. git clone https://github.com/asciimoo/searx/ && echo "cloned" || echo "not necessary"
  3. cd searx && git checkout v0.14.0
  4. cp settings.yml searx/searx/settings.yml && sed -i "s/ultrasecretkey/$$(date +%s | sha256sum | base64 | head -c 32 ; echo)/" searx/searx/settings.yml
  5. cp gitea.py searx/searx/engines/
  6. cd searx && docker build -t x.osuv.de:4 .
  7. run:
  8. 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
  9. update:
  10. docker service update --image=x.osuv.de:4 searx