diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-29 15:09:34 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-03-29 15:09:34 +0200 |
commit | 7b4cf2eb489d8f6c95ccac5af180254b78e7c460 (patch) | |
tree | d3b8f4fbd5f5bcc7b78be06aecacf739ffa9b1e4 /.config.sh | |
parent | 65b22be1f4e6bb4f293f3d8cef0c4c7635528090 (diff) | |
download | searxng-7b4cf2eb489d8f6c95ccac5af180254b78e7c460.tar.gz searxng-7b4cf2eb489d8f6c95ccac5af180254b78e7c460.zip |
tooling box: simplify build enviroments
- no more need for a .config.mk
- docs: use searx.brands environment
- searx.sh, filtron.sh & morty.sh are sourcing utils/brand.env
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.config.sh')
-rw-r--r-- | .config.sh | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/.config.sh b/.config.sh index 0fdc0ca12..57411ce6f 100644 --- a/.config.sh +++ b/.config.sh @@ -11,46 +11,41 @@ # adding them to you local brand (git branch):: # # git add .config -# -# Compare your settings here with file .config.mk used by the Makefile targets. # The public URL of the searx instance: PUBLIC_URL="https://mydomain.xy/searx" -# The default is taken from the Makefile environment (SEARX_URL). -PUBLIC_URL="${SEARX_URL:-http://$(uname -n)/searx}" -PUBLIC_HOST="${PUBLIC_HOST:-$(echo "$PUBLIC_URL" | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/')}" +# The default is taken from ./utils/brand.env. + +PUBLIC_URL="${SEARX_URL}" +#PUBLIC_URL="http://$(uname -n)/searx" # searx.sh # --------- -SEARX_INTERNAL_URL="${SEARX_INTERNAL_URL:-127.0.0.1:8888}" +# SEARX_INTERNAL_URL="127.0.0.1:8888" -# Only change, if you maintain a searx brand in your searx fork. The default is -# taken from the Makefile environment (DOCS_URL, GIT_URL). -SEARX_DOCS_URL="${DOCS_URL:-https://asciimoo.github.io/searx}" -SEARX_GIT_URL="${GIT_URL:-https://github.com/asciimoo/searx.git}" -SEARX_GIT_BRANCH="${SEARX_GIT_BRANCH:-master}" +# Only change, if you maintain a searx brand in your searx fork. +# GIT_BRANCH="${GIT_BRANCH:-master}" # filtron.sh # ---------- -FILTRON_API="${FILTRON_API:-127.0.0.1:4005}" -FILTRON_LISTEN="${FILTRON_LISTEN:-127.0.0.1:4004}" -FILTRON_TARGET="${FILTRON_TARGET:-127.0.0.1:8888}" +# FILTRON_API="127.0.0.1:4005" +# FILTRON_LISTEN="127.0.0.1:4004" +# FILTRON_TARGET="127.0.0.1:8888" # morty.sh # -------- # morty listen address -MORTY_LISTEN="${MORTY_LISTEN:-127.0.0.1:3000}" +# MORTY_LISTEN="127.0.0.1:3000" +# PUBLIC_URL_PATH_MORTY="/morty" # system services # --------------- +# Common $HOME folder of the service accounts +# SERVICE_HOME_BASE="/usr/local" + # **experimental**: Set SERVICE_USER to run all services by one account, but be # aware that removing discrete components might conflict! -# # SERVICE_USER=searx - -# Common $HOME folder of the service accounts -SERVICE_HOME_BASE="${SERVICE_HOME_BASE:-/usr/local}" - |