feat(infra): add SearXNG dev container
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
3
.env.example
Normal file
3
.env.example
Normal 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
11
docker-compose.yml
Normal 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
15
searxng/settings.yml
Normal 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
|
||||||
Reference in New Issue
Block a user