{"id":13412483,"url":"https://github.com/searx/searx-docker","last_synced_at":"2025-03-14T18:31:35.650Z","repository":{"id":35615639,"uuid":"194687803","full_name":"searx/searx-docker","owner":"searx","description":"Create a searx instance using Docker","archived":false,"fork":false,"pushed_at":"2022-04-18T14:16:17.000Z","size":59,"stargazers_count":397,"open_issues_count":16,"forks_count":69,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-07-31T20:50:58.717Z","etag":null,"topics":["docker","searx","searx-docker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/searx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-01T14:23:52.000Z","updated_at":"2024-07-13T06:14:40.000Z","dependencies_parsed_at":"2022-07-08T15:00:18.123Z","dependency_job_id":null,"html_url":"https://github.com/searx/searx-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searx%2Fsearx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searx%2Fsearx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searx%2Fsearx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searx%2Fsearx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/searx","download_url":"https://codeload.github.com/searx/searx-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221495304,"owners_count":16832455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","searx","searx-docker"],"created_at":"2024-07-30T20:01:25.183Z","updated_at":"2024-10-26T04:30:40.843Z","avatar_url":"https://github.com/searx.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"**⚠️ Please use [this repository](https://github.com/searxng/searxng-docker) instead as searx-docker is not maintained anymore and migrated to SearXNG: https://github.com/searxng/searxng-docker! ⚠️**\n\n----------\n\n# searx-docker\n\nCreate a new searx instance in five minutes using Docker (see https://github.com/asciimoo/searx/issues/1561 )\n\n## What is included ?\n\n| Name | Description | Docker image | Dockerfile |\n| -- | -- | -- | -- |\n| [Caddy](https://github.com/caddyserver/caddy) | Reverse proxy (create a LetsEncrypt certificate automatically) | [caddy/caddy:2-alpine](https://hub.docker.com/_/caddy) | [Dockerfile](https://github.com/caddyserver/caddy-docker) |\n| [Filtron](https://github.com/asciimoo/filtron) |  Filtering reverse HTTP proxy, bot and abuse protection | [dalf/filtron:latest](https://hub.docker.com/r/dalf/filtron) | See [asciimoo/filtron#4](https://github.com/asciimoo/filtron/pull/4) |\n| [Searx](https://github.com/asciimoo/searx) | searx by itself | [searx/searx:latest](https://hub.docker.com/r/searx/searx) | [Dockerfile](https://github.com/searx/searx/blob/master/Dockerfile) |\n| [Morty](https://github.com/asciimoo/morty) | Privacy aware web content sanitizer proxy as a service. | [dalf/morty:latest](https://hub.docker.com/r/dalf/morty) | [Dockerfile](https://github.com/dalf/morty/blob/master/Dockerfile) |\n\n## How to use it\n- [Install docker](https://docs.docker.com/install/)\n- [Install docker-compose](https://docs.docker.com/compose/install/) (be sure that docker-compose version is at least 1.9.0).\n- only on MacOSX: ```brew install coreutils``` to install ```greadlink```\n- Get searx-docker\n```sh\ncd /usr/local\ngit clone https://github.com/searx/searx-docker.git\ncd searx-docker\n```\n- Generate MORTY_KEY ```sed -i \"s|ReplaceWithARealKey\\!|$(openssl rand -base64 33)|g\" .env```\n- Edit the other settings in [.env](https://github.com/searx/searx-docker/blob/master/.env) file according to your need\n- Check everything is working: ```./start.sh```,\n- ```cp searx-docker.service.template searx-docker.service```\n- edit the content of ```WorkingDirectory``` (SEARX_DIR environment variable) in the ```searx-docker.service``` file (only if the installation path is different from /usr/local/searx-docker)\n- Install the systemd unit :\n```sh\nsystemctl enable $(pwd)/searx-docker.service\nsystemctl start searx-docker.service\n```\n\n## Note on the image proxy feature\n\nThe searx image proxy is activated by default using [Morty](https://github.com/asciimoo/morty).\n\nThe default [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) allow the browser to access to {SEARX_HOSTNAME} and ```https://*.tile.openstreetmap.org;```.\n\nIf some users wants to disable the image proxy, you have to modify [./Caddyfile](https://github.com/searx/searx-docker/blob/master/Caddyfile). Replace the ```img-src 'self' data: https://*.tile.openstreetmap.org;``` by ```img-src * data:;```\n\n## Custom docker-compose.yaml\n\nDo not modify docker-compose.yaml otherwise you won't be able to update easily from the git repository.\n\nIt is possible to the [extend feature](https://docs.docker.com/compose/extends/) of docker-compose :\n- stop the service : ```systemctl stop searx-docker.service```\n- create a new docker-compose-extend.yaml, check with ```start.sh```\n- update searx-docker.service (see SEARX_DOCKERCOMPOSEFILE)\n- restart the servie  : ```systemctl restart searx-docker.service```\n\n## Multi Architecture Docker images\n\nFor now only the amd64 platform is supported.\n\n## How to update ?\n\nCheck the content of [```update.sh```](https://github.com/searx/searx-docker/blob/master/update.sh)\n\n## Access to the Filtron API\n\nThe [Filtron API](https://github.com/asciimoo/filtron#api) is available on ```http://localhost:4041```\n\nFor example, to display the loaded rules:\n```\ncurl http://localhost:4041/rules | jq\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsearx%2Fsearx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsearx%2Fsearx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsearx%2Fsearx-docker/lists"}