diff --git a/bashrc b/bashrc index 2627c25..5458526 100644 --- a/bashrc +++ b/bashrc @@ -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 diff --git a/rc/aliases.rc b/rc/aliases.rc index e69de29..72f0ed1 100644 --- a/rc/aliases.rc +++ b/rc/aliases.rc @@ -0,0 +1,5 @@ +alias dc=docker-compose +alias dcm='dc $DCF' +alias dcl='dcm logs' + +alias fd=fdfind diff --git a/rc/git-prompt.rc b/rc/git-prompt.rc old mode 100755 new mode 100644 diff --git a/rc/tiger.rc b/rc/tiger.rc new file mode 100644 index 0000000..066a776 --- /dev/null +++ b/rc/tiger.rc @@ -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