forked from Ponysearch/Ponysearch
[fix] ./utils/filtron.sh - FILTRON_TARGET from YAML settings
The filtron target is the SearXNG installation and the default of FILTRON_TARGET is taken from the YAML configuration ('server.port' & 'server.bind_address'). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
61d3914b63
commit
7196a9b5dd
2 changed files with 6 additions and 2 deletions
|
@ -33,7 +33,6 @@
|
||||||
|
|
||||||
# FILTRON_API="127.0.0.1:4005"
|
# FILTRON_API="127.0.0.1:4005"
|
||||||
# FILTRON_LISTEN="127.0.0.1:4004"
|
# FILTRON_LISTEN="127.0.0.1:4004"
|
||||||
# FILTRON_TARGET="127.0.0.1:8888"
|
|
||||||
|
|
||||||
# utils/morty.sh
|
# utils/morty.sh
|
||||||
# --------------
|
# --------------
|
||||||
|
|
|
@ -23,7 +23,12 @@ FILTRON_RULES_TEMPLATE="${FILTRON_RULES_TEMPLATE:-${REPO_ROOT}/utils/templates/e
|
||||||
|
|
||||||
FILTRON_API="${FILTRON_API:-127.0.0.1:4005}"
|
FILTRON_API="${FILTRON_API:-127.0.0.1:4005}"
|
||||||
FILTRON_LISTEN="${FILTRON_LISTEN:-127.0.0.1:4004}"
|
FILTRON_LISTEN="${FILTRON_LISTEN:-127.0.0.1:4004}"
|
||||||
FILTRON_TARGET="${FILTRON_TARGET:-127.0.0.1:8888}"
|
|
||||||
|
# The filtron target is the SearXNG installation, listenning on server.port at
|
||||||
|
# server.bind_address. The default of FILTRON_TARGET is taken from the YAML
|
||||||
|
# configuration, do not change this value without reinstalling the entire
|
||||||
|
# SearXNG suite including filtron & morty.
|
||||||
|
FILTRON_TARGET="${SEARX_BIND_ADDRESS}:${SEARX_PORT}"
|
||||||
|
|
||||||
SERVICE_NAME="filtron"
|
SERVICE_NAME="filtron"
|
||||||
SERVICE_USER="${SERVICE_USER:-${SERVICE_NAME}}"
|
SERVICE_USER="${SERVICE_USER:-${SERVICE_NAME}}"
|
||||||
|
|
Loading…
Reference in a new issue