Files
ai-companion/deploy/searxng/docker-compose.yml
T

18 lines
617 B
YAML

services:
searxng:
# 固定为 2026-09-16 已完成真实搜索验收的镜像,升级时重新跑 test_search_live.py。
image: docker.io/searxng/searxng@sha256:f1aca3f61c7ff4552b8d54c0ab7fb458e907b78f51c503210cf450c900adca2c
container_name: ai-companion-searxng
restart: unless-stopped
ports:
# 只给同机助手调用,不向局域网或公网暴露。
- "127.0.0.1:18080:8080"
volumes:
- ./settings.yml:/etc/searxng/settings.yml:ro
- searxng-cache:/var/cache/searxng
environment:
- SEARXNG_BASE_URL=http://127.0.0.1:18080/
volumes:
searxng-cache: