diff options
author | Richard Coleman <richardcoleman7@icloud.com> | 2018-06-24 03:55:48 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-06-23 22:55:48 -0400 |
commit | 212fef08666e30419e0a94397d18e99c1222b0ca (patch) | |
tree | 01caa4adefff64eebc936726ab2e43cb52d657fb /docs | |
parent | e2721b619098b887e6e27675450f3a4663716f59 (diff) | |
download | gitea-212fef08666e30419e0a94397d18e99c1222b0ca.tar.gz gitea-212fef08666e30419e0a94397d18e99c1222b0ca.zip |
Add details about USER_UID and USER_GID environment variables (#4301)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/installation/with-docker.en-us.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md index c672393cc0..aa4337e082 100644 --- a/docs/content/doc/installation/with-docker.en-us.md +++ b/docs/content/doc/installation/with-docker.en-us.md @@ -245,6 +245,8 @@ You can configure some of Gitea's settings via environment variables: * `SECRET_KEY`: **""**: Global secret key. This should be changed. If this has a value and `INSTALL_LOCK` is empty, `INSTALL_LOCK` will automatically set to `true`. * `DISABLE_REGISTRATION`: **false**: Disable registration, after which only admin can create accounts for users. * `REQUIRE_SIGNIN_VIEW`: **false**: Enable this to force users to log in to view any page. +* `USER_UID`: **1000**: The UID (Unix user ID) of the user that runs Gitea within the container. Match this to the UID of the owner of the `/data` volume if using host volumes (this is not necessary with named volumes). +* `USER_GID`: **1000**: The GID (Unix group ID) of the user that runs Gitea within the container. Match this to the GID of the owner of the `/data` volume if using host volumes (this is not necessary with named volumes). # Customization |