Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
— |
searxng [2025/06/24 12:18] (aktuell) jango angelegt |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | =====Docker Compose===== | ||
+ | searxng_settings.yml (optional) | ||
+ | <code yaml> | ||
+ | general: | ||
+ | instance_name: | ||
+ | debug: false | ||
+ | |||
+ | search: | ||
+ | safe_search: | ||
+ | |||
+ | ui: | ||
+ | default_locale: | ||
+ | theme_args: | ||
+ | simple_style: | ||
+ | </ | ||
+ | |||
+ | <code yaml> | ||
+ | version: ' | ||
+ | |||
+ | services: | ||
+ | searxng: | ||
+ | image: searxng/ | ||
+ | container_name: | ||
+ | restart: always | ||
+ | ports: | ||
+ | - " | ||
+ | environment: | ||
+ | - BASE_URL=http:// | ||
+ | volumes: | ||
+ | - ./ | ||
+ | </ | ||
+ | |||
+ | Möchte man das HTML auch anpassen | ||
+ | |||
+ | < | ||
+ | git clone https:// | ||
+ | cd searxng | ||
+ | </ | ||
+ | |||
+ | Template Dateien befinden sich in: | ||
+ | |||
+ | * HTML: searxng/ | ||
+ | * CSS/JS: searxng/ | ||
+ | |||
+ | Datei für Settings anlegen | ||
+ | |||
+ | < | ||
+ | nano container/ | ||
+ | </ | ||
+ | |||
+ | Beispiel | ||
+ | < | ||
+ | server: | ||
+ | port: 8080 | ||
+ | bind_address: | ||
+ | base_url: https:// | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | docker build -t searxng-custom -f container/ | ||
+ | docker run -d --name searxng -p 8080:8080 searxng-custom | ||
+ | </ |