forgejo: increase login ttl / disable signups

This commit is contained in:
notohh 2023-12-30 20:46:58 -05:00
parent 7d7f6f4407
commit beb87f47a6
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -9,7 +9,7 @@
enable = true;
stateDir = "/var/lib/forgejo";
settings = {
service.DISABLE_REGISTRATION = false;
service.DISABLE_REGISTRATION = true;
DEFAULT.APP_NAME = "forgejo";
log.LEVEL = "Debug";
ui = {
@ -34,6 +34,9 @@
session = {
COOKIE_SECURE = true;
};
security = {
LOGIN_REMEMBER_DAYS = 14;
};
database = {
DB_TYPE = lib.mkForce "postgres";
HOST = "192.168.1.211:5432";