update gite to new options

This commit is contained in:
2023-07-23 10:54:54 +02:00
parent 22620a747e
commit 8e428771c1

View File

@@ -14,10 +14,12 @@ in
services.gitea = { services.gitea = {
enable = true; enable = true;
appName = "Cloonar Gitea server"; # Give the site a name appName = "Cloonar Gitea server"; # Give the site a name
domain = domain;
rootUrl = "https://${domain}/";
httpPort = 3001;
settings = { settings = {
server = {
ROOT_URL = "https://${domain}/";
HTTP_PORT = 3001;
DOMAIN = domain;
};
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
webhook.ALLOWED_HOST_LIST = "drone.cloonar.com"; webhook.ALLOWED_HOST_LIST = "drone.cloonar.com";
}; };