diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-11-30 19:18:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 19:18:35 +0800 |
commit | d517b56682483466c2824052b70d2ea8a12ac223 (patch) | |
tree | 800a6f318be4d77d6440818f8276b66299e64c33 /docs/content/doc/installation/with-docker.zh-cn.md | |
parent | 86ee41ec033105bec50c1cc4eaf0181a37d71574 (diff) | |
download | gitea-d517b56682483466c2824052b70d2ea8a12ac223.tar.gz gitea-d517b56682483466c2824052b70d2ea8a12ac223.zip |
add notice for docker run gitea http port issue (#3020)
Diffstat (limited to 'docs/content/doc/installation/with-docker.zh-cn.md')
-rw-r--r-- | docs/content/doc/installation/with-docker.zh-cn.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/installation/with-docker.zh-cn.md b/docs/content/doc/installation/with-docker.zh-cn.md index 983a0d1f88..add51867a3 100644 --- a/docs/content/doc/installation/with-docker.zh-cn.md +++ b/docs/content/doc/installation/with-docker.zh-cn.md @@ -37,6 +37,8 @@ docker run -d --name=gitea -p 10022:22 -p 10080:3000 -v /var/lib/gitea:/data git 然后 容器已经运行成功,在浏览器中访问 http://hostname:10080 就可以看到界面了。你可以尝试在上面创建项目,clone操作 `git clone ssh://git@hostname:10022/username/repo.git`. +注意:目前端口改为非3000时,需要修改配置文件 `LOCAL_ROOT_URL = http://localhost:3000/`。 + ## 需要帮助? 如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) |