minor
This commit is contained in:
parent
4ff588edc3
commit
8e6f3327e5
@ -2,28 +2,6 @@
|
||||
|
||||
# runs in container
|
||||
|
||||
# CMD [ \
|
||||
# "python3.10", \
|
||||
# "cvttpy/apps/executor_app.py", \
|
||||
# "--config=http://cloud16.cvtt.vpn:6789/apps/cvtt", \
|
||||
# "--admin_port=7220", \
|
||||
# "--active_exchanges=COINBASE_AT", \
|
||||
# "--credentials_file=/.creds", \
|
||||
# "--log_file=/logs/%T.EXECUTOR_APP.log" \
|
||||
# ]
|
||||
|
||||
# [program:executor_alpaca]
|
||||
# directory=/home/cvtt/prod
|
||||
# command=/home/cvtt/.pyenv/python3.10-venv/bin/python3
|
||||
# -u /home/cvtt/prod/cvttpy/apps/executor_app.py
|
||||
# --config=http://cloud16.cvtt.vpn:6789/apps/cvtt_eqt_alpaca
|
||||
# --active_exchanges=ALPACA_SNDBX-MDPORTAL
|
||||
# --admin_port=7222
|
||||
# --log_level=INFO
|
||||
# --log_file=/home/cvtt/prod/logs/%%T.EXECUTOR_APP.log
|
||||
# # --debug_mode
|
||||
|
||||
|
||||
|
||||
# runs on host to start container
|
||||
usage() {
|
||||
@ -35,8 +13,6 @@ usage() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
|
||||
# ConfigServer=cloud16.cvtt.vpn
|
||||
ConfigServer=cloud23.cvtt.vpn:6789
|
||||
ActiveExchanges=ALPACA_SNDBX
|
||||
@ -73,7 +49,7 @@ Cmd="${Cmd} --allow_dynamic_exch_inst"
|
||||
Cmd="${Cmd} --active_exchanges=${ActiveExchanges}"
|
||||
Cmd="${Cmd} --admin_port=${AdminPort}"
|
||||
Cmd="${Cmd} --log_file=/logs/%T.EXECUTOR_APP.log"
|
||||
# Cmd="${Cmd} --compress_log"
|
||||
Cmd="${Cmd} --compress_log"
|
||||
echo ${Cmd}
|
||||
eval ${Cmd}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user