Parcourir la source

Update mall-admin.sh

macro il y a 5 ans
Parent
commit
bdde036d3f
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      document/sh/mall-admin.sh

+ 1 - 0
document/sh/mall-admin.sh

@@ -8,6 +8,7 @@ docker rmi `docker images | grep none | awk '{print $3}'`
 echo '----rm none images----'
 docker run -p 8080:8080 --name ${app_name} \
 --link mysql:db \
+--link redis:redis \
 -v /etc/localtime:/etc/localtime \
 -v /mydata/app/${app_name}/logs:/var/logs \
 -d mall/${app_name}:1.0-SNAPSHOT