chore: initial commit
This commit is contained in:
33
stacks/search/docker-compose.yml
Normal file
33
stacks/search/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
# HomeAI Kit — Search Stack (SearXNG)
|
||||
# Private meta-search engine — searches Google, Bing, DuckDuckGo
|
||||
# without tracking or ads.
|
||||
#
|
||||
# Setup:
|
||||
# docker network create homeai-net # once, if not already created
|
||||
# docker compose up -d
|
||||
#
|
||||
# Search UI: http://localhost:8080
|
||||
# JSON API: http://localhost:8080/search?q=test&format=json
|
||||
|
||||
services:
|
||||
searxng:
|
||||
image: searxng/searxng:latest
|
||||
container_name: homeai-searxng
|
||||
ports:
|
||||
- "${SEARXNG_PORT:-8080}:8080"
|
||||
volumes:
|
||||
- ../../config/searxng/settings.yml:/etc/searxng/settings.yml:ro
|
||||
- ../../config/searxng/limiter.toml:/etc/searxng/limiter.toml:ro
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/healthz"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 15s
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- homeai-net
|
||||
|
||||
networks:
|
||||
homeai-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user