utils/lxc.env: separate environment that is used in containers

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-03-01 18:28:10 +01:00
parent 37c135f2ce
commit 491cb95a1f
6 changed files with 19 additions and 6 deletions

14
utils/lxc.env Normal file
View file

@ -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"
}