mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
Fix path issues with db core test init
This commit is contained in:
parent
c90cd7399a
commit
9e34251824
2 changed files with 1 additions and 5 deletions
|
@ -8,8 +8,6 @@ echo "ℹ️ Extracting ClamAV plugin ..."
|
|||
|
||||
cp -r bunkerweb-plugins/clamav /plugins/
|
||||
|
||||
cd ..
|
||||
|
||||
echo "ℹ️ Extracting settings.json file, db and core directory ..."
|
||||
|
||||
cp bunkerweb/settings.json /bunkerweb/
|
||||
|
|
|
@ -138,6 +138,7 @@ cleanup_stack () {
|
|||
# Cleanup stack on exit
|
||||
trap cleanup_stack EXIT
|
||||
|
||||
echo "💾 Initializing workspace ..."
|
||||
if [ "$integration" == "docker" ] ; then
|
||||
echo "💾 Creating the bw-docker network ..."
|
||||
docker network create bw-docker
|
||||
|
@ -155,10 +156,7 @@ if [ "$integration" == "docker" ] ; then
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "💾 Initializing workspace ..."
|
||||
if [ "$integration" == "docker" ] ; then
|
||||
rm -rf init/plugins init/bunkerweb
|
||||
mkdir -p init/plugins init/bunkerweb
|
||||
docker compose -f docker-compose.init.yml up --build
|
||||
|
|
Loading…
Reference in a new issue