2020-01-29 20:00:50 +01:00
|
|
|
# -*- coding: utf-8; mode: sh -*-
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#
|
2020-02-02 18:14:10 +01:00
|
|
|
# This environment is used by ./utils scripts like filtron.sh or searx.sh. The
|
|
|
|
# default values are *most flexible* and *best maintained*, you normally not
|
|
|
|
# need to change them. Before you change any value here you have to uninstall
|
|
|
|
# any previous installation. It is recommended to backup your changes simply by
|
|
|
|
# adding them to you local brand (git branch).
|
2020-01-29 20:00:50 +01:00
|
|
|
|
2020-02-02 18:14:10 +01:00
|
|
|
# The public URL of the searx instance
|
2020-01-31 15:53:53 +01:00
|
|
|
PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
|
|
|
|
PUBLIC_HOST="${PUBLIC_HOST:-$(echo "$PUBLIC_URL" | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/')}"
|
2020-02-02 18:14:10 +01:00
|
|
|
|
|
|
|
# Run all services by one account, but be aware that removing discrete
|
|
|
|
# components might conflict! **experimental**
|
|
|
|
#
|
|
|
|
# SERVICE_USER=service_account42
|