aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1d50e56..2b63d94 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,6 @@ stop:
start:
docker run -d -v ${APP}:/go/src/dim13.org/goxy/data \
-p ${IP}:80:80 -p ${IP}:443:443 -p ${IP}:8080:8080 \
- --name ${APP} --net ${APP} ${TAG}
+ --name ${APP} --net ${APP} --restart unless-stopped ${TAG}
restart: stop start