Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions services/searxng/.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ DNS_SERVER=9.9.9.9

# Tailscale Configuration
TS_AUTHKEY=
TAILNET_NAME=

# Optional Service variables
# PUID=1000

SEARXNG_SECRET= # Generate a random secret for searxng, e.g. using `openssl rand -hex 32`
2 changes: 2 additions & 0 deletions services/searxng/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This Docker Compose configuration sets up [searXNG](https://github.com/searxng/s

In this setup, the `tailscale-searxng` service runs Tailscale, which manages secure networking for the searXNG service. The `searxng` service utilizes the Tailscale network stack via Docker’s `network_mode: service:` configuration. This setup ensures that searXNG is only accessible through your Tailscale network (or locally, if preferred). With this configuration, you can enjoy a private, secure, and customizable search engine experience, free from user tracking or external access.

We use `/searxng/settings.yml` copied from <https://github.com/searxng/searxng/blob/master/searx/settings.yml> as the default settings file. This dir is mounted as a volume, on docker and required for the first run.

## References

[![Replace Google with SearXNG - a privacy respecting, self-hosted search engine](https://img.youtube.com/vi/cg9d87PuanE/0.jpg)](https://www.youtube.com/watch?v=cg9d87PuanE)
2 changes: 1 addition & 1 deletion services/searxng/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam
- SEARXNG_BASE_URL=https://searxng.<YOUR-TAILNET-DOMAIN>.ts.net/
- SEARXNG_BASE_URL=https://searxng.${TAILNET_NAME}.ts.net/
volumes:
- ./searxng:/etc/searxng:rw
cap_drop:
Expand Down
Loading