feat(infra): add SearXNG dev container

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-17 15:07:22 +02:00
parent 0f342bdadf
commit c1ec9b8a83
3 changed files with 29 additions and 0 deletions

3
.env.example Normal file
View File

@@ -0,0 +1,3 @@
DATABASE_PATH=./data/kochwas.db
IMAGE_DIR=./data/images
SEARXNG_URL=http://localhost:8888

11
docker-compose.yml Normal file
View File

@@ -0,0 +1,11 @@
services:
searxng:
image: searxng/searxng:latest
ports:
- '8888:8080'
volumes:
- ./searxng:/etc/searxng
environment:
- BASE_URL=http://localhost:8888/
- INSTANCE_NAME=kochwas-search-dev
restart: unless-stopped

15
searxng/settings.yml Normal file
View File

@@ -0,0 +1,15 @@
use_default_settings: true
server:
secret_key: 'dev-secret-change-in-prod'
limiter: false
image_proxy: false
default_http_headers:
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Robots-Tag: noindex, nofollow
search:
formats:
- html
- json
ui:
default_locale: de