Add oraproxy for one project

This commit is contained in:
Daniel Siepmann 2022-10-04 16:58:10 +02:00
parent 431bffc905
commit 8850653389
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -125,6 +125,19 @@ let
let "windowId+=1"
fi
# Start oracle proxy docker container
if [ -d "$projectRoot/oraproxy/" ]; then
oraproxyPath="$projectRoot/oraproxy/"
${tmuxBin} new-window -n docker -t "$session"
${tmuxBin} send-keys -t "$session:$windowId" "cd $oraproxyPath" C-m
${tmuxBin} send-keys C-l
# Missing C-m at end, because we don't want to submit.
# We often don't need oraproxy running to do our job.
${tmuxBin} send-keys -t "$session:$windowId" "docker-compose run --rm --service-ports oraproxy"
let "windowId+=1"
fi
# Start elastic container
if [ -d "$projectRoot/elastic/" ]; then
elasticPath="$projectRoot/elastic/"