Skip to content

Instantly share code, notes, and snippets.

@arberiii
Created January 26, 2020 21:13
Show Gist options
  • Save arberiii/a2dec9f874b4f1303ce551edc67964ad to your computer and use it in GitHub Desktop.
Save arberiii/a2dec9f874b4f1303ce551edc67964ad to your computer and use it in GitHub Desktop.
Searx instance on OS X
# pull first the searx docker image
# docker pull wonderfall/searx
# then in automator under bash script write this:
export PATH=/usr/local/bin:$PATH;
if (! docker stats --no-stream ); then
open /Applications/Docker.app
while (! docker stats --no-stream ); do
sleep 1
done
fi
docker rm $(docker stop /searx);
docker run -dit --name searx --restart unless-stopped -p 8888:8888 wonderfall/searx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment