Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ deploy:spot.test.cloud.global: COMPOSE_FILE: docker-compose.yml:docker-compose-build.yml SSH_PRIVATE_KEY: ${SSH_PRIVATE_KEY_TEST} script: - docker-compose up -d --build - docker-compose up -d --build --scale tor=5 deploy:spot.cloud.global: extends: .deploy:template Loading @@ -119,4 +119,4 @@ deploy:spot.cloud.global: SSH_PRIVATE_KEY: ${SSH_PRIVATE_KEY_PROD} script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker-compose up -d - docker-compose up -d --scale tor=5 README.md +5 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ Spot was forked from searx: read [documentation](https://asciimoo.github.io/sear * [morty](https://github.com/asciimoo/morty) as proxy to serve thumbnails. * [nginx](https://www.nginx.com/) as http server to serve static files. * Spot the meta search engine. * [tor](https://www.torproject.org) as open network that helps you defend against traffic analysis. ```mermaid Loading @@ -31,6 +32,9 @@ graph TD B --> D(nginx) D --> |static file| D D --> |API| E(spot) E --> H(tor1) E --> I(tor2) E --> J(torN) ``` ## Getting Started Loading @@ -45,7 +49,7 @@ below to run spot for production or local environment. ``` COMPOSE_FILE=docker-compose.yml:docker-compose-build.yml docker-compose up --build morty SPOT_MORTY_URL=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' my-spot_morty_1) COMPOSE_FILE=docker-compose.yml:docker-compose-build.yml docker-compose up --build spot nginx filtron COMPOSE_FILE=docker-compose.yml:docker-compose-build.yml docker-compose up --build spot nginx filtron tor ``` * Getting the ip of the filtron service and go to `http://<ip>`, below the docker way to get the IP of the filtron container Loading docker-compose.yml +5 −0 Original line number Diff line number Diff line Loading @@ -71,5 +71,10 @@ services: - "letsencrypt:/letsencrypt" - "/var/run/docker.sock:/var/run/docker.sock:ro" tor: image: osminogin/tor-simple logging: *default-logging restart: unless-stopped volumes: letsencrypt: searx/settings.yml +4 −4 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ ui: # key : !!binary "your_morty_proxy_key" outgoing: # communication with search engines request_timeout : 2.0 # default timeout in seconds, can be override by engine request_timeout : 3.0 # default timeout in seconds, can be override by engine # max_request_timeout: 10.0 # the maximum timeout in seconds useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator pool_connections : 100 # Number of different hosts Loading @@ -41,9 +41,9 @@ outgoing: # communication with search engines # uncomment below section if you want to use a proxy # see http://docs.python-requests.org/en/latest/user/advanced/#proxies # SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks # proxies : # http : http://127.0.0.1:8080 # https: http://127.0.0.1:8080 proxies: http: socks5://tor:9050 https: socks5://tor:9050 # uncomment below section only if you have more than one network interface # which can be the source of outgoing search requests # source_ips: Loading Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ deploy:spot.test.cloud.global: COMPOSE_FILE: docker-compose.yml:docker-compose-build.yml SSH_PRIVATE_KEY: ${SSH_PRIVATE_KEY_TEST} script: - docker-compose up -d --build - docker-compose up -d --build --scale tor=5 deploy:spot.cloud.global: extends: .deploy:template Loading @@ -119,4 +119,4 @@ deploy:spot.cloud.global: SSH_PRIVATE_KEY: ${SSH_PRIVATE_KEY_PROD} script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker-compose up -d - docker-compose up -d --scale tor=5
README.md +5 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ Spot was forked from searx: read [documentation](https://asciimoo.github.io/sear * [morty](https://github.com/asciimoo/morty) as proxy to serve thumbnails. * [nginx](https://www.nginx.com/) as http server to serve static files. * Spot the meta search engine. * [tor](https://www.torproject.org) as open network that helps you defend against traffic analysis. ```mermaid Loading @@ -31,6 +32,9 @@ graph TD B --> D(nginx) D --> |static file| D D --> |API| E(spot) E --> H(tor1) E --> I(tor2) E --> J(torN) ``` ## Getting Started Loading @@ -45,7 +49,7 @@ below to run spot for production or local environment. ``` COMPOSE_FILE=docker-compose.yml:docker-compose-build.yml docker-compose up --build morty SPOT_MORTY_URL=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' my-spot_morty_1) COMPOSE_FILE=docker-compose.yml:docker-compose-build.yml docker-compose up --build spot nginx filtron COMPOSE_FILE=docker-compose.yml:docker-compose-build.yml docker-compose up --build spot nginx filtron tor ``` * Getting the ip of the filtron service and go to `http://<ip>`, below the docker way to get the IP of the filtron container Loading
docker-compose.yml +5 −0 Original line number Diff line number Diff line Loading @@ -71,5 +71,10 @@ services: - "letsencrypt:/letsencrypt" - "/var/run/docker.sock:/var/run/docker.sock:ro" tor: image: osminogin/tor-simple logging: *default-logging restart: unless-stopped volumes: letsencrypt:
searx/settings.yml +4 −4 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ ui: # key : !!binary "your_morty_proxy_key" outgoing: # communication with search engines request_timeout : 2.0 # default timeout in seconds, can be override by engine request_timeout : 3.0 # default timeout in seconds, can be override by engine # max_request_timeout: 10.0 # the maximum timeout in seconds useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator pool_connections : 100 # Number of different hosts Loading @@ -41,9 +41,9 @@ outgoing: # communication with search engines # uncomment below section if you want to use a proxy # see http://docs.python-requests.org/en/latest/user/advanced/#proxies # SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks # proxies : # http : http://127.0.0.1:8080 # https: http://127.0.0.1:8080 proxies: http: socks5://tor:9050 https: socks5://tor:9050 # uncomment below section only if you have more than one network interface # which can be the source of outgoing search requests # source_ips: Loading