Update 'test/setup.sh'

This commit is contained in:
sthope 2021-08-28 18:21:40 +02:00
parent 092ee378d6
commit d17c394c68

View File

@ -65,8 +65,13 @@ chmod +x $DOCKERCOMPOSE_LOCATION
msg "Configuring Portainer,VSCode,Watchtower"
FOLDER_PORTAINER='/docker/portainer'
FOLDER_VSCODE='/docker/vscode'
STACK_OLD='/docker-compose.yml'
STACK_NEW='/docker/docker-compose.yml'
mkdir -p $(dirname $FOLDER_PORTAINER)
mkdir -p $(dirname $FOLDER_VSCODE)
mv $STACK_OLD $STACK_NEW
cd $(dirname $STACK_NEW) &>/dev/null
docker-compose up -d &>/dev/null
# Customize container
msg "Customizing container..."