rewrites the whole thing

This commit is contained in:
Jean-Christophe Vanhalle
2023-08-14 14:48:47 +02:00
parent 222d86a909
commit b47876ad62
19 changed files with 407 additions and 139 deletions

15
root.sh
View File

@@ -1,18 +1,11 @@
#! /bin/sh
#
if [ -f .env ]
then
set -o allexport;
. ./.env;
set +o allexport
else
echo Missing .env file
exit 1
fi
set -a
. "${PWD}/.env"
set +a
docker exec \
-it \
--user root \
${DOCKER_PREFIX}-web \
--user root "${PREFIX}-app" \
/bin/bash