crypto_md_day - specific docker tag

This commit is contained in:
Oleg Sheynin 2025-03-07 23:02:06 -05:00
parent 085308ff9c
commit 3bd31b7d8b
2 changed files with 9 additions and 4 deletions

View File

@ -1 +1 @@
2.0.2,using HA trading-calendar and config service
2.0.3,using HA trading-calendar and config service

View File

@ -1,15 +1,20 @@
#!/bin/bash
# ------- Settings
ImageTag=1.6.9
DockerRegistry=cloud21.cvtt.vpn:5500
DockerImage=${DockerRegistry}/crypto_md_day:${ImageTag}
# ------- Settings
host=${1}
date=${2}
DockerRegistry=cloud21.cvtt.vpn:5500
DockerImage=${DockerRegistry}/crypto_md_day
if [ -z ${date} ] ; then
date=$(date -d "yesterday" +%Y%m%d)
fi
Cmd="docker run"
Cmd+=" --pull=always"
Cmd+=" --network=host"