summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJames Mills <prologic@fb.com>2016-01-19 22:24:40 -0800
committerJames Mills <prologic@fb.com>2016-01-19 22:24:40 -0800
commitf36c82c3b3a9ce88640664d2061a637a67ce8228 (patch)
tree0b8fc5eea93c8bb6d56f7acd88e5de02ed94cb81 /docker
parent7ef9a055886574655d9f2be70c957bc16bf30500 (diff)
downloadgitea-f36c82c3b3a9ce88640664d2061a637a67ce8228.tar.gz
gitea-f36c82c3b3a9ce88640664d2061a637a67ce8228.zip
Add an important note about mapping the ssh port on the container to the host
Diffstat (limited to 'docker')
-rw-r--r--docker/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index d1250cdba6..6e2209fbfd 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -20,6 +20,8 @@ $ docker run --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs
$ docker start gogs
```
+Note: It is important to map the Gogs ssh service from the container to the host and set the appropriate SSH Port and URI settings when setting up Gogs for the first time. To access and clone Gogs Git repositories with the above configuration you would use: `git clone ssh://git@hostname:10022/username/myrepo.git` for example.
+
Files will be store in local path `/var/gogs` in my case.
Directory `/var/gogs` keeps Git repositories and Gogs data: