-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
83 lines (73 loc) · 1.67 KB
/
compose.dev.yml
File metadata and controls
83 lines (73 loc) · 1.67 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
services:
valkey:
image: valkey/valkey:8-alpine
restart: unless-stopped
command: valkey-server --save 30 1 --loglevel warning
volumes:
- valkey-data:/data
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
networks:
- searchengine-network
searxng:
image: searxng/searxng:latest
restart: unless-stopped
configs:
- source: searxng_settings
target: /etc/searxng/settings.yml
ports:
- "8080:8080"
environment:
SEARXNG_SECRET: ${SEARXNG_SECRET}
UWSGI_WORKERS: 2
UWSGI_THREADS: 2
UWSGI_ENABLE_THREADS: true
volumes:
- searxng-data:/var/cache/searxng
depends_on:
valkey:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/healthz"]
interval: 10s
timeout: 5s
retries: 5
networks:
- searchengine-network
configs:
searxng_settings:
content: |
use_default_settings: true
server:
secret_key: ${SEARXNG_SECRET}
image_proxy: false
limiter: false
public_instance: false
max_results: 20
engines:
- name: yahoo
disabled: true
search:
autocomplete: duckduckgo
autocomplete_min: 3
max_page: 1
formats:
- json
categories:
- general
- images
- files
outgoing:
max_request_timeout: 1.8
enabled_plugins: []
valkey:
url: valkey://valkey:6379/0
volumes:
valkey-data:
searxng-data:
networks:
searchengine-network:
driver: bridge