mirror of
https://github.com/searxng/searxng
synced 2024-11-18 15:26:25 +00:00
a4437c47ac
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
18 lines
796 B
Bash
18 lines
796 B
Bash
# -*- coding: utf-8; mode: sh -*-
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#
|
|
# 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).
|
|
|
|
# The public URL of the searx instance
|
|
PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
|
|
PUBLIC_HOST="${PUBLIC_HOST:-$(echo "$PUBLIC_URL" | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/')}"
|
|
|
|
# Run all services by one account, but be aware that removing discrete
|
|
# components might conflict! **experimental**
|
|
#
|
|
# SERVICE_USER=service_account42
|