minor
This commit is contained in:
parent
27153fcd3c
commit
3e1a22d572
@ -6,6 +6,7 @@ COPY ${FROM_DIR}/requirements.txt /
|
|||||||
|
|
||||||
|
|
||||||
COPY cvttpy /cvttpy
|
COPY cvttpy /cvttpy
|
||||||
|
#### Creds file is mapped from host to container
|
||||||
# COPY ${FROM_DIR}/.creds /.creds
|
# COPY ${FROM_DIR}/.creds /.creds
|
||||||
COPY ${FROM_DIR}/crypto_md_day.sh /crypto_md_day.sh
|
COPY ${FROM_DIR}/crypto_md_day.sh /crypto_md_day.sh
|
||||||
|
|
||||||
|
|||||||
@ -51,16 +51,16 @@ fi
|
|||||||
export PYTHONPATH=/
|
export PYTHONPATH=/
|
||||||
|
|
||||||
Cmd="python3.12"
|
Cmd="python3.12"
|
||||||
Cmd="${Cmd} cvttpy/research/utils/archive_ts_md.py"
|
Cmd+=" cvttpy/research/utils/archive_ts_md.py"
|
||||||
Cmd="${Cmd} --config=http://cloud16.cvtt.vpn:6789/apps/md_recorder"
|
Cmd+=" --config=http://cloud16.cvtt.vpn:6789/apps/md_recorder"
|
||||||
Cmd="${Cmd} --db_credentials_key=${CredKey}"
|
Cmd+=" --db_credentials_key=${CredKey}"
|
||||||
Cmd="${Cmd} --credentials_file=/.creds"
|
Cmd+=" --credentials_file=/.creds"
|
||||||
Cmd="${Cmd} --date=${Date}"
|
Cmd+=" --date=${Date}"
|
||||||
Cmd="${Cmd} --schemas=${Schemas}"
|
Cmd+=" --schemas=${Schemas}"
|
||||||
Cmd="${Cmd} --root_dir=/app/data/${DbHost}"
|
Cmd+=" --root_dir=/app/data/${DbHost}"
|
||||||
Cmd="${Cmd} --format=SQLite"
|
Cmd+=" --format=SQLite"
|
||||||
Cmd="${Cmd} --compress"
|
Cmd+=" --compress"
|
||||||
# Cmd="${Cmd} --log_file=/logs/%T.crypto_md_day.log"
|
# Cmd+=" --log_file=/logs/%T.crypto_md_day.log"
|
||||||
|
|
||||||
echo ${Cmd}
|
echo ${Cmd}
|
||||||
eval ${Cmd}
|
eval ${Cmd}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user