disable registration on gitea

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-10-21 00:27:46 -04:00
parent 81df9aed70
commit f34b409f30
No known key found for this signature in database
GPG Key ID: 47940175096C1330

@ -19,11 +19,16 @@ in
name = "giteadb"; name = "giteadb";
port = 5433; port = 5433;
}; };
settings.server = { settings = {
server = {
DOMAIN = "git.alicehuston.xyz"; DOMAIN = "git.alicehuston.xyz";
ROOT_URL = "https://git.alicehuston.xyz/"; ROOT_URL = "https://git.alicehuston.xyz/";
HTTP_PORT = 6443; HTTP_PORT = 6443;
}; };
service = {
DISABLE_REGISTRATION = true;
};
};
stateDir = base_path; stateDir = base_path;
lfs.enable = true; lfs.enable = true;
recommendedDefaults = true; recommendedDefaults = true;