on update_data_update_firefox_version.py help sign in
searx/.config.sh
59 lines 1.9 kB history raw
1# -*- coding: utf-8; mode: sh -*-
2# SPDX-License-Identifier: AGPL-3.0-or-later
3# shellcheck shell=bash disable=SC2034
4#
5# This environment is used by ./utils scripts like filtron.sh or searx.sh. The
6# default values are *most flexible* and *best maintained*, you normally not
7# need to change the defaults (except PUBLIC_URL).
8#
9# Before you change any value here you have to uninstall any previous
10# installation. Further is it recommended to backup your changes simply by
11# adding them to you local brand (git branch)::
13# git add .config
15# The public URL of the searx instance: PUBLIC_URL="https://mydomain.xy/searx"
16# The default is taken from ./utils/brand.env.
18PUBLIC_URL="${SEARX_URL}"
20if [[ ${PUBLIC_URL} == "https://searx.me" ]]; then
21 # hint: Linux containers do not have DNS entries, lets use IPs
22 PUBLIC_URL="http://$(primary_ip)/searx"
23fi
25# searx.sh
26# ---------
28# SEARX_INTERNAL_URL="127.0.0.1:8888"
29# SEARX_SETTINGS_TEMPLATE="${REPO_ROOT}/utils/templates/etc/searx/use_default_settings.yml"
31# Only change, if you maintain a searx brand in your searx fork (GIT_URL) which
32# is not hold by branch 'master'. The branch has to be a local branch, in the
33# repository from which you install (which is most often the case). If you want
34# to install branch 'foo', don't forget to run 'git branch foo origin/foo' once.
35# GIT_BRANCH="${GIT_BRANCH:-master}"
37# filtron.sh
38# ----------
40# FILTRON_API="127.0.0.1:4005"
41# FILTRON_LISTEN="127.0.0.1:4004"
42# FILTRON_TARGET="127.0.0.1:8888"
44# morty.sh
45# --------
47# morty listen address
48# MORTY_LISTEN="127.0.0.1:3000"
49# PUBLIC_URL_PATH_MORTY="/morty/"
51# system services
52# ---------------
54# Common $HOME folder of the service accounts
55# SERVICE_HOME_BASE="/usr/local"
57# **experimental**: Set SERVICE_USER to run all services by one account, but be
58# aware that removing discrete components might conflict!
59# SERVICE_USER=searx