forked from DevOps/deploy.stack
feat(searxng): 添加searxng配置文件
添加limiter.toml和settings.yml配置文件 修改volumes挂载路径以支持本地开发和数据持久化
This commit is contained in:
7
searxng/etc/searxng/limiter.toml
Normal file
7
searxng/etc/searxng/limiter.toml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# This configuration file updates the default configuration file
|
||||||
|
# See https://github.com/searxng/searxng/blob/master/searx/limiter.toml
|
||||||
|
|
||||||
|
[botdetection.ip_limit]
|
||||||
|
# activate advanced bot protection
|
||||||
|
# enable this when running the instance for a public usage on the internet
|
||||||
|
link_token = false
|
||||||
9
searxng/etc/searxng/settings.yml
Normal file
9
searxng/etc/searxng/settings.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
|
||||||
|
use_default_settings: true
|
||||||
|
server:
|
||||||
|
# base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml
|
||||||
|
secret_key: "ultrasecretkey" # change this!
|
||||||
|
limiter: false # enable this when running the instance for a public usage on the internet
|
||||||
|
image_proxy: true
|
||||||
|
redis:
|
||||||
|
url: redis://redis:6379/0
|
||||||
@@ -29,7 +29,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- searxng
|
- searxng
|
||||||
volumes:
|
volumes:
|
||||||
- ${Volumes_PATH}/etc-searxng:/etc/searxng
|
- ./searxng:/etc/searxng:rw
|
||||||
|
- ${Volumes_PATH}/searxng-data:/var/cache/searxng:rw
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
searxng:
|
searxng:
|
||||||
Reference in New Issue
Block a user