端口修改

This commit is contained in:
XinWei 2024-10-29 17:30:09 +08:00
parent b01210098d
commit b552b333d4
2 changed files with 2 additions and 2 deletions

View File

@ -13,4 +13,4 @@ docker rm ${app_name}
echo '----rmi none image----'
docker rmi $(docker images -f "dangling=true" -q)
echo '----start container----'
docker run -d -p 48082:9090 --name ${app_name} --restart always ${app_name}:${app_version}
docker run -d -p 9090:9090 --name ${app_name} --restart always ${app_name}:${app_version}

View File

@ -12,4 +12,4 @@ docker rm ${app_name}
echo '----rmi none image----'
docker rmi $(docker images -f "dangling=true" -q)
echo '----start container----'
docker run -d -p 48182:48082 --name ${app_name} --restart always ${app_name}:${app_version}
docker run -d -p 48082:48082 --name ${app_name} --restart always ${app_name}:${app_version}