Commit 777023fb authored by 金凯强's avatar 金凯强 🎨

修复compose报错问题

parent e51274f9
......@@ -40,6 +40,6 @@ docker-compose up -p deploy -d --force-recreate''')
else:
res = os.system('''export HUANSI_REGISTRY_URL=47.110.145.204:8084 &&\
source /etc/profile.d/huansi.sh &&\
docker-compose up -p deploy -d --force-recreate --no-deps {}'''.format(app_str))
docker-compose -p deploy up -d --force-recreate --no-deps {}'''.format(app_str))
if res == 1: raise RuntimeError('程序升级失败')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment