Functional version of bashrc

Tuning for tiger
This commit is contained in:
Martin Blazik
2020-09-14 08:14:36 +02:00
parent cc3c1867a8
commit d42eb0859b
4 changed files with 18 additions and 4 deletions

12
bashrc
View File

@@ -1,6 +1,10 @@
WORKSPACE=$(dirname "$0")
if [[ $0 != $BASH_SOURCE ]]; then
WORKSPACE=$(dirname $BASH_SOURCE)
for rc_file in $WORKSPACE/rc/*.rc; do
echo "source $rc_file"
done
for rc_file in $WORKSPACE/rc/*.rc; do
source $rc_file
done
else
echo "not sourced"
fi

View File

@@ -0,0 +1,5 @@
alias dc=docker-compose
alias dcm='dc $DCF'
alias dcl='dcm logs'
alias fd=fdfind

0
rc/git-prompt.rc Executable file → Normal file
View File

5
rc/tiger.rc Normal file
View File

@@ -0,0 +1,5 @@
export DCF="-f docker-compose.yaml -f docker-compose-monitoring.yaml"
export MIN_SERVICES="pulsar-create-namespace postgres redis jaeger router"
#export SERVICES="afm-exec-api sql-executor scan-model router data-loader"
export SERVICES="afm-exec-api aqe config-manager metadata-api result-cache scan-model sql-executor swagger-ui"
export SPRING_ZIPKIN_ENABLED=true