remove exposing mongodb port as unifi binds mongo only to localhost,

add --restart_always option
This commit is contained in:
Tommi2Day
2017-02-17 13:25:08 +01:00
parent 92e09d82b3
commit 6001eed2be
3 changed files with 5 additions and 4 deletions

View File

@@ -60,10 +60,10 @@ $DOCKER run $RUN \
-v "${SHARED_DIR}/logs":/logs \
--hostname $VMNAME \
--name ${VMNAME} \
--restart=always \
-p :8080:8080 \
-p 8880:8880 \
-p 8443:8443 \
-p 37117:27117 \
$DOCKER_USER/$VMNAME $1 " >starter
if [ "$OSTYPE" = "msys" ]; then
mv starter starter.ps1