-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.11 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
agentclaw:
build: .
container_name: agentclaw
restart: unless-stopped
ports:
- "127.0.0.1:${PORT:-3100}:3100"
volumes:
- ${DATA_VOLUME:-./data}:/app/data
- ./skills:/app/skills
env_file:
- .env
environment:
- PORT=3100
- HOST=0.0.0.0
# SearXNG — 本地搜索引擎,默认不启动。
# 启用方式:docker compose --profile search up -d
searxng:
image: docker.io/searxng/searxng:latest
container_name: searxng
profiles:
- search
restart: unless-stopped
# Only accessible from internal Docker network (agentclaw container)
# ports:
# - "8888:8080"
volumes:
- ./searxng:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=http://localhost:8888/
depends_on:
- redis
# Redis/Valkey — 仅供 SearXNG 缓存和限流使用。
redis:
image: docker.io/valkey/valkey:8-alpine
container_name: redis
profiles:
- search
restart: unless-stopped
command: valkey-server --save 30 1 --loglevel warning
volumes:
- redis-data:/data
volumes:
redis-data: