diff options
author | Unknwon <u@gogs.io> | 2016-02-06 20:22:43 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-06 20:22:43 -0500 |
commit | 894946c319aa0e961388227c7cff11b1392edfc7 (patch) | |
tree | 182f1be2da9c0dd0f50b9b8e3eea8a76e1870f11 | |
parent | 10fbb1aa2f641546c4fdaee6c6ef7111586bd4e3 (diff) | |
parent | f36c82c3b3a9ce88640664d2061a637a67ce8228 (diff) | |
download | gitea-894946c319aa0e961388227c7cff11b1392edfc7.tar.gz gitea-894946c319aa0e961388227c7cff11b1392edfc7.zip |
Merge pull request #2573 from prologic/add-note-wrt-ssh-on-docker#2409
Add an important note about mapping the ssh port on the container to the host
-rw-r--r-- | docker/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md index ac4536232f..63d4a51e87 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: |