Files
skel-worker/localEnv/runNotDetached.sh
T

23 lines
293 B
Bash
Executable File

#!/bin/bash
my_dir="$(dirname "$0")"
DIR_RETURN=`pwd`
cd "$my_dir"
echo "Reading project variables"
source ../config
cd "/home/asdynamics/dockerenv/$PROJECT_BUILDNAME"
COMPOSER_NAME="local_$PROJECT_BUILDNAME"
docker-compose -p "$COMPOSER_NAME" up webserver
cd "$DIR_RETURN"
exit 0;