Created
January 26, 2020 21:13
-
-
Save arberiii/a2dec9f874b4f1303ce551edc67964ad to your computer and use it in GitHub Desktop.
Searx instance on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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