From 4c60228d075c146eba7841b403846fc48a9d59e9 Mon Sep 17 00:00:00 2001 From: crystaldust Date: Mon, 28 Apr 2014 09:45:38 +0000 Subject: [PATCH] Add a tip of redeploying gogs in Docker by using git checkout in the README.md file --- dockerfiles/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dockerfiles/README.md b/dockerfiles/README.md index cbf582d0d..83ca3e954 100644 --- a/dockerfiles/README.md +++ b/dockerfiles/README.md @@ -36,5 +36,13 @@ Now we have gogs running! Open the browser and navigate to: http://YOUR_HOST_IP:YOUR_HOST_PORT ``` +By the way, if you want to deploy multiple versions of gogs with different database and memory db combination, take advantage of git: + +``` +git checkout -- images/ +``` + +Then re-configure the config items above and run deploy.sh again. + Let's 'gogs'! -Ouya~ \ No newline at end of file +Ouya~