Files
skel-worker/localEnv/runNotDetached.sh
T
2020-09-25 20:30:09 +02:00

23 lines
290 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 worker
cd "$DIR_RETURN"
exit 0;