all export

This commit is contained in:
Farid Musa 2024-01-01 21:52:35 +04:00
parent ed11ade127
commit 811a7c1b46
3 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,8 @@ if [ ! -f .env ]; then
exit 1
fi
set -a
source .env
set +a
envsubst < ./nginx/default.conf.tpl > ./nginx/default.conf

View File

@ -5,7 +5,9 @@ if [ ! -f .env ]; then
exit 1
fi
set -a
source .env
set +a
for script_file in ./start.d/*.sh
do

View File

@ -5,7 +5,9 @@ if [ ! -f .env ]; then
exit 1
fi
set -a
source .env
set +a
docker compose -p "$OVPN_COMPOSE_NAME" down "$@"