Skip to content

Commit 97ee34f

Browse files
committed
Added searxng
1 parent 9014062 commit 97ee34f

File tree

2 files changed

+134
-0
lines changed

2 files changed

+134
-0
lines changed

public/svgs/searxng.svg

Lines changed: 56 additions & 0 deletions
Loading

templates/compose/searxng.yaml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# documentation: https://docs.searxng.org
2+
# slogan: SearXNG is a free internet metasearch engine which aggregates results from more than 70 search services.
3+
# tags: search, google, engine, images, documents, rss, proxy, news, web, api
4+
# logo: svgs/searxng.svg
5+
# port: 8080
6+
7+
version: "3"
8+
9+
volumes:
10+
redis_data: null
11+
12+
services:
13+
searxng:
14+
image: searxng/searxng
15+
restart: always
16+
depends_on:
17+
redis:
18+
condition: service_healthy
19+
environment:
20+
- SERVICE_FQDN_SEARXNG_8080
21+
- INSTANCE_NAME=coolify
22+
- BASE_URL=${SERVICE_FQDN_SEARXNG_8080}
23+
- SEARXNG_URL=${SERVICE_FQDN_SEARXNG_8080}
24+
- SEARXNG_BIND_ADDRESS=0.0.0.0
25+
- SEARXNG_SECRET=${SERVICE_PASSWORD_SEARXNGSECRET}
26+
- SEARXNG_REDIS_URL=redis://redis:6379/0
27+
healthcheck:
28+
test:
29+
- CMD
30+
- wget
31+
- "-q"
32+
- "--spider"
33+
- "http://127.0.0.1:8080/healthz"
34+
interval: 5s
35+
timeout: 5s
36+
retries: 3
37+
volumes:
38+
- type: bind
39+
source: ./settings.yml
40+
target: /etc/searxng/settings.yml
41+
content: |
42+
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
43+
use_default_settings: true
44+
server:
45+
limiter: false
46+
image_proxy: true
47+
search:
48+
formats:
49+
- html
50+
- csv
51+
- json
52+
- rss
53+
ui:
54+
static_use_hash: true
55+
- type: bind
56+
source: ./limiter.toml
57+
target: /etc/searxng/limiter.toml
58+
content: |
59+
# This configuration file updates the default configuration file
60+
# See https://github.com/searxng/searxng/blob/master/searx/botdetection/limiter.toml
61+
62+
[botdetection.ip_limit]
63+
# activate link_token method in the ip_limit method
64+
link_token = true
65+
66+
redis:
67+
image: "redis:7"
68+
restart: always
69+
volumes:
70+
- "redis_data:/data"
71+
healthcheck:
72+
test:
73+
- CMD
74+
- redis-cli
75+
- ping
76+
interval: 5s
77+
timeout: 5s
78+
retries: 3

0 commit comments

Comments
 (0)