This commit is contained in:
afornerot 2024-07-26 23:18:04 +02:00
parent 3a532e592a
commit ccd2d4e1c0
6 changed files with 4 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,6 +1,8 @@
**/.env.local **/.env.local
**/.env.merge **/.env.merge
docker-compose.yml
/services/10-nineapache/volume/apache /services/10-nineapache/volume/apache
/services/15-mariadb/volume/mysql /services/15-mariadb/volume/mysql

View File

@ -43,6 +43,7 @@ for dir in $(ls -d "services"/[0-9][0-9]-* | sort); do
mergeenv $dir/env/.env.merge env/.env.merge $dir/env/.env $dir/env/.env.local mergeenv $dir/env/.env.merge env/.env.merge $dir/env/.env $dir/env/.env.local
# Construction conf apache # Construction conf apache
mkdir -p services/10-nineapache/volume/apache
if [ -f "$dir/apache/apache.conf" ]; then if [ -f "$dir/apache/apache.conf" ]; then
cp "$dir/apache/apache.conf" services/10-nineapache/volume/apache/$valueservice.conf cp "$dir/apache/apache.conf" services/10-nineapache/volume/apache/$valueservice.conf
fi fi

View File

View File

View File

@ -37,6 +37,7 @@ function destroynineskeletor {
then then
EchoRouge "Delete BDD = "$NINESKELETOR_SERVICE_NAME EchoRouge "Delete BDD = "$NINESKELETOR_SERVICE_NAME
docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $NINESKELETOR_SERVICE_NAME docker-compose exec $MARIADB_SERVICE_NAME /nine/delete.sh $NINESKELETOR_SERVICE_NAME
rm -rf services/50-nineskeletor/volume/apache
fi fi
echo "" echo ""

View File