config (for executor) is made more flexible, docker compose initial

This commit is contained in:
2024-09-09 17:39:00 -04:00
parent 0624f35ddd
commit 2c26e4d258
4 changed files with 18 additions and 10 deletions
@@ -2,7 +2,7 @@
usage() {
echo -n "Usage: $0"
echo -n " [-c <config_server (dflt: cloud23.cvtt.vpn:6789)>]"
echo -n " [-c <config (dflt: http://cloud23.cvtt.vpn:6789/apps/cvtt_eqt_alpaca)>]"
echo -n " [-e <active_exchanges (ALPACA_SNDBX-MDPORTAL)>]"
echo -n " [-a <admin_port (7222)>"]
echo
@@ -11,7 +11,7 @@ usage() {
args=${*}
ConfigServer=cloud23.cvtt.vpn:6789
Config=http://cloud23.cvtt.vpn:6789/apps/cvtt_eqt_alpaca
ActiveExchanges=ALPACA_SNDBX-MDPORTAL
AdminPort=7222
Book=""
@@ -19,7 +19,7 @@ Book=""
while getopts ":c:e:a:" opt; do
case ${opt} in
c )
ConfigServer=$OPTARG
Config=$OPTARG
;;
e )
ActiveExchanges=$OPTARG
@@ -38,7 +38,7 @@ while getopts ":c:e:a:" opt; do
esac
done
echo "ConfigServer=${ConfigServer}"
echo "Config=${Config}"
echo "ActiveExchanges=${ActiveExchanges}"
echo "AdminPort=${AdminPort}"