update gite to new options
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user