Add gitea
This commit is contained in:
@@ -83,6 +83,12 @@
|
||||
'';
|
||||
};
|
||||
|
||||
"git.broccoli.town" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:3030
|
||||
'';
|
||||
};
|
||||
|
||||
"http://bigding:8384" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:8387
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
./caddy
|
||||
./dungflix
|
||||
./fail2ban
|
||||
./gitea
|
||||
./golink
|
||||
./monitoring
|
||||
./synapse
|
||||
./golink
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
18
modules/gitea/default.nix
Normal file
18
modules/gitea/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
appName = "The Broccoli Patch"; # Give the site a name
|
||||
database = {
|
||||
type = "sqlite3";
|
||||
};
|
||||
httpPort = 3030;
|
||||
domain = "git.broccoli.town";
|
||||
rootUrl = "https://git.broccoli.town/";
|
||||
settings = {
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user