aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2018-04-05 17:19:45 -0400
committerUnknwon <u@gogs.io>2018-04-05 17:19:45 -0400
commitf41f5785bfa2b1c6beffc5765efef7328f859658 (patch)
treee6cfb6097d1004029c267f2e2c3c5895a04e6373
parent55f148f4995b923b7eaf67a50d54443209ca4d69 (diff)
docker: update README about "custom" directory (#5150)
-rw-r--r--docker/README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index 61f102eb..dede3118 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -36,6 +36,10 @@ Directory `/var/gogs` keeps Git repositories and Gogs data:
|-- data
|-- log
+#### Custom Directory
+
+The "custom" directory may not be obvious in Docker environment. The `/var/gogs/gogs` (in the host) and `/data/gogs` (in the container) is already the "custom" directory and you do not need to create another layer but directly edit corresponding files under this directory.
+
### Volume With Data Container
If you're more comfortable with mounting data to a data container, the commands you execute at the first time will look like as follows: