update
This commit is contained in:
@@ -49,16 +49,17 @@ ENV SEARXNG_VERSION="$SEARXNG_GIT_VERSION" \
|
|||||||
# INSTANCE_NAME="SearXNG" \
|
# INSTANCE_NAME="SearXNG" \
|
||||||
# AUTOCOMPLETE="" \
|
# AUTOCOMPLETE="" \
|
||||||
BASE_URL="saya.liara.run" \
|
BASE_URL="saya.liara.run" \
|
||||||
BIND_ADDRESS="[::]:80" \
|
BIND_ADDRESS="[::]:8080" \
|
||||||
SEARXNG_SETTINGS_PATH="$CONFIG_PATH/settings-iyas.yml" \
|
SEARXNG_REDIS_URL="redis://saya-redis:6379/0" \
|
||||||
UWSGI_SETTINGS_PATH="$CONFIG_PATH/uwsgi-iyas.ini" \
|
SEARXNG_SETTINGS_PATH="$CONFIG_PATH/settings.yml" \
|
||||||
|
UWSGI_SETTINGS_PATH="$CONFIG_PATH/uwsgi.ini" \
|
||||||
UWSGI_WORKERS="%k" \
|
UWSGI_WORKERS="%k" \
|
||||||
UWSGI_THREADS="4"
|
UWSGI_THREADS="4"
|
||||||
|
|
||||||
VOLUME $CONFIG_PATH
|
VOLUME $CONFIG_PATH
|
||||||
VOLUME $DATA_PATH
|
VOLUME $DATA_PATH
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 8080
|
||||||
|
|
||||||
HEALTHCHECK CMD wget --quiet --tries=1 --spider http://localhost:80/healthz || exit 1
|
HEALTHCHECK CMD wget --quiet --tries=1 --spider http://localhost:80/healthz || exit 1
|
||||||
|
|
||||||
|
|||||||
@@ -1,77 +0,0 @@
|
|||||||
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
|
|
||||||
use_default_settings:
|
|
||||||
engines:
|
|
||||||
keep_only:
|
|
||||||
- google
|
|
||||||
- brave
|
|
||||||
- yandex
|
|
||||||
server:
|
|
||||||
# base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml
|
|
||||||
secret_key: "j2t7uEGGHwoWX4G7ZzzA9RLWZ4EjiPQ" # change this!
|
|
||||||
limiter: false # enable this when running the instance for a public usage on the internet
|
|
||||||
image_proxy: true
|
|
||||||
ui:
|
|
||||||
static_use_hash: false
|
|
||||||
default_locale: "fa-IR"
|
|
||||||
query_in_title: true
|
|
||||||
infinite_scroll: false
|
|
||||||
center_alignment: false
|
|
||||||
cache_url: https://web.archive.org/web/
|
|
||||||
default_theme: simple
|
|
||||||
theme_args:
|
|
||||||
simple_style: auto
|
|
||||||
search_on_category_select: true
|
|
||||||
hotkeys: default
|
|
||||||
url_formatting: pretty
|
|
||||||
static_use_favicons: true
|
|
||||||
categories_order:
|
|
||||||
- general
|
|
||||||
- images
|
|
||||||
- videos
|
|
||||||
redis:
|
|
||||||
url: redis://redis:6379/0
|
|
||||||
search:
|
|
||||||
safe_search: 2
|
|
||||||
autocomplete: "google"
|
|
||||||
default_lang: "fa"
|
|
||||||
favicon_resolver: "yandex"
|
|
||||||
engines:
|
|
||||||
- name: google images
|
|
||||||
engine: google_images
|
|
||||||
shortcut: gimg
|
|
||||||
categories: images
|
|
||||||
- name: youtube
|
|
||||||
engine: google_videos
|
|
||||||
shortcut: yt
|
|
||||||
categories: videos
|
|
||||||
- name: yandex images
|
|
||||||
engine: yandex
|
|
||||||
categories: images
|
|
||||||
search_type: images
|
|
||||||
shortcut: ydi
|
|
||||||
- name: vimeo
|
|
||||||
engine: vimeo
|
|
||||||
shortcut: vm
|
|
||||||
- name: brave.images
|
|
||||||
engine: brave
|
|
||||||
network: brave
|
|
||||||
shortcut: brimg
|
|
||||||
categories: [images, web]
|
|
||||||
brave_category: images
|
|
||||||
- name: brave.videos
|
|
||||||
engine: brave
|
|
||||||
network: brave
|
|
||||||
shortcut: brvid
|
|
||||||
categories: [videos, web]
|
|
||||||
brave_category: videos
|
|
||||||
general:
|
|
||||||
debug: false
|
|
||||||
instance_name: "سایا"
|
|
||||||
privacypolicy_url: false
|
|
||||||
donation_url: false
|
|
||||||
contact_url: false
|
|
||||||
categories_as_tabs:
|
|
||||||
general:
|
|
||||||
images:
|
|
||||||
videos:
|
|
||||||
music:
|
|
||||||
2815
searx/settings.yml
2815
searx/settings.yml
File diff suppressed because it is too large
Load Diff
2788
searx/settings.yml.bak
Normal file
2788
searx/settings.yml.bak
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user