-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearxng.yml
More file actions
58 lines (55 loc) · 1.29 KB
/
searxng.yml
File metadata and controls
58 lines (55 loc) · 1.29 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
48
49
50
51
52
53
54
55
56
57
58
networks:
proxy:
searxng:
volumes:
searxng-redis-data:
services:
searxng:
image: ghcr.io/searxng/searxng:2025.11.14-1e200a110
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
environment:
- SEARXNG_SECRET=${SEARXNG_SECRET}
- SEARXNG_BASE_URL=https://search.${PROXY_PUBLIC_DOMAIN}
- SEARXNG_REDIS_URL=redis://searxng-redis:6379
- TZ=${TIMEZONE}
expose:
- 8080 # webui
extends:
file: common.yml
service: log-to-json
networks:
- proxy
- searxng
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
- ./searxng/limiter.toml:/etc/searxng/limiter.toml:ro
# todo: change favicons
# https://github.com/searxng/searxng-docker/discussions/57#discussioncomment-2597013
searxng-redis:
image: docker.io/valkey/valkey:7-alpine
command: --save 30 1 --loglevel warning
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
expose:
- 6379 # api
extends:
file: common.yml
service: log-to-json
healthcheck:
test: redis-cli ping
networks:
- searxng
restart: unless-stopped
volumes:
- searxng-redis-data:/data