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 dde3eab15b
commit bf854d315a
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

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