|
@@ -9,6 +9,7 @@ echo '----rm none images----'
|
|
|
docker run -p 8081:8081 --name ${app_name} \
|
|
|
--link mysql:db \
|
|
|
--link elasticsearch:es \
|
|
|
+-e TZ="Asia/Shanghai" \
|
|
|
-v /etc/localtime:/etc/localtime \
|
|
|
-v /mydata/app/${app_name}/logs:/var/logs \
|
|
|
-d mall/${app_name}:1.0-SNAPSHOT
|