Explorar el Código

fix:容器重启策略

ly hace 9 meses
padre
commit
e8256c95c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      run.sh

+ 1 - 1
run.sh

@@ -41,7 +41,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----'