diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..59a4327 --- /dev/null +++ b/.env.example @@ -0,0 +1,3 @@ +DATABASE_PATH=./data/kochwas.db +IMAGE_DIR=./data/images +SEARXNG_URL=http://localhost:8888 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..1249842 --- /dev/null +++ b/docker-compose.yml @@ -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 diff --git a/searxng/settings.yml b/searxng/settings.yml new file mode 100644 index 0000000..52051cf --- /dev/null +++ b/searxng/settings.yml @@ -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