-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
27 lines (26 loc) · 840 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
27 lines (26 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
services:
lrs:
build:
context: .
dockerfile: Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "127.0.0.1:8088:8088"
environment:
- LRS_SEARCH__SEARXNG__BASE_URL=http://searxng:8080
# Intentionally unset by default: if an LLM endpoint is not provided,
# LRS falls back to MockLLMProvider while still using real SearXNG results.
# To use a real LLM, set:
# - LRS_LLM__OPENAI_COMPATIBLE__BASE_URL=http://host.docker.internal:11434/v1
# - LRS_LLM__OPENAI_COMPATIBLE__MODEL=qwen2.5:14b
depends_on:
- searxng
searxng:
image: searxng/searxng:latest
ports:
- "127.0.0.1:8080:8080"
environment:
- BASE_URL=http://localhost:8080/
volumes:
- ./docker/searxng/settings.yml:/etc/searxng/settings.yml:ro