浏览代码

fix:容器重启策略

(cherry picked from commit 1000ceeff110912c687192b245bcc6ba67815f12)
ly 9 月之前
父节点
当前提交
549878002c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      run.sh

+ 1 - 1
run.sh

@@ -40,7 +40,7 @@ docker run -p ${app_port}:${app_port} --name ${app_name} --network yzbh_network
 -v /home/build/${volume_name}/logs:/home/ruoyi/logs \
 -v /home/files:/home/files \
 -d ${group_name}/${app_name}:${app_version} \
---restart
+--restart always
 echo '----start container----'
 docker system prune -f
 echo '----clear docker----'