You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Copy file name to clipboardExpand all lines: docs/content/doc/installation/with-docker.en-us.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,8 @@ You can configure some of Gitea's settings via environment variables:
243
243
*`DB_PASSWD`: **"<empty>"**: Database user password. Use \`your password\` for quoting if you use special characters in the password.
244
244
*`INSTALL_LOCK`: **false**: Disallow access to the install page.
245
245
*`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`.
246
+
*`DISABLE_REGISTRATION`: **false**: Disable registration, after which only admin can create accounts for users.
247
+
*`REQUIRE_SIGNIN_VIEW`: **false**: Enable this to force users to log in to view any page.
0 commit comments