Skip to content

Instantly share code, notes, and snippets.

@gamersalpha
Created November 20, 2024 07:47
Show Gist options
  • Save gamersalpha/f43bd02eaa0a9502a2f32f6588bd2094 to your computer and use it in GitHub Desktop.
Save gamersalpha/f43bd02eaa0a9502a2f32f6588bd2094 to your computer and use it in GitHub Desktop.
Docker compose - Searx for ollama search
services:
swag:
image: searxng/searxng
container_name: searxng
environment:
- PUID=1000
- PGID=1000
- BASE_URL=https://searx.domanie.fr
- INSTANCE_NAME=DomaineSearch
- TZ=Europe/Paris
- ENABLE_RAG_WEB_SEARCH=True
- RAG_WEB_SEARCH_ENGINE="searxng"
- RAG_WEB_SEARCH_RESULT_COUNT=3
- RAG_WEB_SEARCH_CONCURRENT_REQUESTS=10
- SEARXNG_QUERY_URL="https://searx.domanie.fr/search?q=<query>"
volumes:
- /volume1/docker/searx/:/etc/searxng
ports:
- 8080:8080
restart: unless-stopped
@gamersalpha
Copy link
Author

Ne pas oublier de modifier le fichier de configuration :

serttings.yml

et d'ajouter le parmétre json

remove format to deny access, use lower case.

formats: [html, csv, json, rss]

formats:
- html
- json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment