From 779bb890faaccab7e18d5d1163976b25a7219cc6 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 12 Feb 2016 08:18:12 -0500 Subject: [PATCH] Minor docs update for #2605 --- docker/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 63d4a51e8..af6dfc7ac 100644 --- a/docker/README.md +++ b/docker/README.md @@ -58,6 +58,8 @@ $ docker run --name=gogs -p 10022:22 -p 10080:3000 -v gogs-data:/data gogs/gogs ## Settings +### Application + Most of settings are obvious and easy to understand, but there are some settings can be confusing by running Gogs inside Docker: - **Repository Root Path**: keep it as default value `/home/git/gogs-repositories` because `start.sh` already made a symbolic link for you. @@ -67,7 +69,11 @@ Most of settings are obvious and easy to understand, but there are some settings - **HTTP Port**: Use port you want Gogs to listen on inside Docker container. For example, your Gogs listens on `3000` inside Docker, and you expose it by `10080:3000`, but you still use `3000` for this value. - **Application URL**: Use combination of **Domain** and **exposed HTTP Port** values(e.g. `http://192.168.99.100:10080/`). -Full documentation of settings can be found [here](http://gogs.io/docs/advanced/configuration_cheat_sheet.html). +Full documentation of application settings can be found [here](http://gogs.io/docs/advanced/configuration_cheat_sheet.html). + +### Crond + +Please set environment variable `RUN_CROND` to be `true` or `1` in order to start `crond` inside the container. ## Upgrade