Retoor software development Projects Research SearchXNG
Register Sign In

6 lines
166 B
Bash
Raw Normal View History

[mod] reduce enviroment variables in shell scripts to what is needed Not all settings from the 'brand:' section of the YAML files are needed in the shell scripts. This patch reduce the variables in ./utils/brand.env to what is needed. The following ('brand:' settings) can be removed from this file: - ISSUE_URL - DOCS_URL - PUBLIC_INSTANCES - WIKI_URL Tasks running outside of an *installed instance*, need the following settings from the YAML configuration: - GIT_URL <--> brand.git_url - GIT_BRANCH <--> brand.git_branch - SEARX_URL <--> server.base_url (aka PUBLIC_URL) - SEARX_PORT <--> server.port - SEARX_BIND_ADDRESS <--> server.bind_address Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-20 13:16:21 +02:00
export SEARX_URL=''
SearXNG: SEARXNG_PORT
2021-10-02 16:56:11 +02:00
export SEARXNG_PORT='8888'
SearXNG: SEARX_BIND_ADDRESS
2021-10-02 16:58:09 +02:00
export SEARXNG_BIND_ADDRESS='127.0.0.1'
version based on the git repository This commit remove the need to update the brand for GIT_URL and GIT_BRANCH: there are read from the git repository. It is possible to call python -m searx.version freeze to freeze the current version. Useful when the code is installed outside git (distro package, docker, etc...)
2021-07-27 18:37:46 +02:00
export GIT_URL='https://github.com/searxng/searxng'
export GIT_BRANCH='master'
Reference in New Issue Copy Permalink
861925c50f
searxng/utils/brand.env
Response time: 31ms
Mail Licenses API