summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFluf <36822577+flufmonster@users.noreply.github.com>2018-05-23 11:31:12 -0400
committerLunny Xiao <xiaolunwen@gmail.com>2018-05-23 23:31:12 +0800
commitb299d7bceb808e2dc4aa2c92ba5310e73c8508a8 (patch)
tree6fde117bcc4133ae52da8790cc608a61eef890af /docs
parent60d95a0b858aa0c22bb621cbe079fb70261d594c (diff)
downloadgitea-b299d7bceb808e2dc4aa2c92ba5310e73c8508a8.tar.gz
gitea-b299d7bceb808e2dc4aa2c92ba5310e73c8508a8.zip
Add Environment Variables to Docker template (#4012)
* Add disable registration as an environment variable for docker * Add REQUIRE_SIGNIN_VIEW as env var to docker * Add variables to template * Update docker docs
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/installation/with-docker.en-us.md2
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 9494fd6037..8f393f16d0 100644
--- a/docs/content/doc/installation/with-docker.en-us.md
+++ b/docs/content/doc/installation/with-docker.en-us.md
@@ -243,6 +243,8 @@ You can configure some of Gitea's settings via environment variables:
* `DB_PASSWD`: **"<empty>"**: Database user password. Use \`your password\` for quoting if you use special characters in the password.
* `INSTALL_LOCK`: **false**: Disallow access to the install page.
* `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.
# Customization