summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-17 19:38:49 +0800
committerUnknwon <u@gogs.io>2015-08-17 19:38:49 +0800
commit398bb772d84bca725f97bf37e866f71fd38f5c79 (patch)
treec7e166db634bbfc5e9ee9e741b8e3ba78ca57d1d /docker
parentf0067e8f78eaa9203cc6743116e7a2a3f82fe7eb (diff)
downloadgitea-398bb772d84bca725f97bf37e866f71fd38f5c79.tar.gz
gitea-398bb772d84bca725f97bf37e866f71fd38f5c79.zip
update docker README
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/docker/README.md b/docker/README.md
index 7b75e7512e..4f6f2a2c03 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -1,16 +1,17 @@
-# Docker for gogs
+# Docker for Gogs
## Usage
+
```
-docker pull gogits/gogs
+docker pull gogs/gogs
mkdir -p /var/gogs
-docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogits/gogs
+docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs
```
-File will store in local path: `/var/gogs`
+File will store in local path: `/var/gogs`.
-Directory `/var/gogs` keeps git repos and gogs data
+Directory `/var/gogs` keeps Git repoistories and Gogs data:
/var/gogs
|-- git
@@ -25,7 +26,7 @@ Directory `/var/gogs` keeps git repos and gogs data
## SSH Support
-In order to support ssh, You need to change `HTTP_PORT` and `SSH_PORT` in `/var/gogs/gogs/conf/app.ini`
+In order to support SSH, You need to change `HTTP_PORT` and `SSH_PORT` in `/var/gogs/gogs/conf/app.ini`:
```
[server]
@@ -33,4 +34,4 @@ HTTP_PORT = 3000
SSH_PORT = 10022
```
-setting description can be found in <http://gogs.io/docs/advanced/configuration_cheat_sheet.html>
+Full documentation of settings can be found [here](http://gogs.io/docs/advanced/configuration_cheat_sheet.html).