summaryrefslogtreecommitdiff
path: root/utils/lxc.env
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-01 18:28:10 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-01 18:28:10 +0100
commit491cb95a1f910e17ac022ddfa73b68aae2fbc6e2 (patch)
treecb5548c1902a0f98f68cd6a09a327666ac3068e9 /utils/lxc.env
parent37c135f2cec6113aa2baaf1b52fe46fd64265975 (diff)
downloadsearxng-491cb95a1f910e17ac022ddfa73b68aae2fbc6e2.tar.gz
searxng-491cb95a1f910e17ac022ddfa73b68aae2fbc6e2.zip
utils/lxc.env: separate environment that is used in containers
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lxc.env')
-rw-r--r--utils/lxc.env14
1 files changed, 14 insertions, 0 deletions
diff --git a/utils/lxc.env b/utils/lxc.env
new file mode 100644
index 000000000..d470f256c
--- /dev/null
+++ b/utils/lxc.env
@@ -0,0 +1,14 @@
+# -*- coding: utf-8; mode: sh indent-tabs-mode: nil -*-
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+# Herein we place all, what is needed to know when inside containers. Its
+# sourced from different context --> do not manipulate the environment directly,
+# implement functions!
+
+# shellcheck shell=sh
+
+searx_suite_set_env() {
+ export FILTRON_API="0.0.0.0:4005"
+ export FILTRON_LISTEN="0.0.0.0:4004"
+ export MORTY_LISTEN="0.0.0.0:3000"
+}