SearxNG using an external NGINX container through net-searxng external network.
You can use certginx to manage NGINX.
Create the external network
docker network create net-searxngImport the rules from searxng
curl https://raw.githubusercontent.com/searxng/searxng-docker/master/rules.json > rules.jsonUpdate the .env file.
Replace key in .env
sed -i "s|ReplaceWithARealKey|$(openssl rand -base64 33)|g" .envGenerate settings.yml
docker compose up -d && docker compose downReplace the template domain with your real domain (Change my_domain.example with your real domain name)
sed -i "s/change_me.example/my_domain.example/g" nginx.confIf your are using certginx, move nginx.conf to your certginx instance in ./nginx/conf.d/<your-domain>.conf