Browse Source

docker: update README about "custom" directory (#5150)

pull/5159/head
Unknwon 7 years ago
parent
commit
f41f5785bf
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 4
      docker/README.md

4
docker/README.md

@ -36,6 +36,10 @@ Directory `/var/gogs` keeps Git repositories and Gogs data:
|-- data |-- data
|-- log |-- 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 ### 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: 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:

Loading…
Cancel
Save