WIP: get forgejo up with sso (#11)

This commit is contained in:
Crow 2025-11-06 15:27:43 -05:00 committed by GitHub
parent f7aa526a08
commit d722de69b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,8 @@
{
services.caddy.virtualHosts."git.wanderingcrow.net".extraConfig = ''
reverse_proxy http://localhost:3000
'';
services.forgejo = {
enable = true;
lfs.enable = true;
@ -6,5 +10,19 @@
type = "sqlite3";
createDatabase = true;
};
settings = {
server = {
DOMAIN = "git.wanderingcrow.net";
ROOT_URL = "https://git.wanderingcrow.net";
HTTP_PORT = 3000;
};
service = {
DISABLE_REGISTRATION = false;
};
actions = {
ENABLED = true;
DEFAULT_ACTIONS_URL = "github";
};
};
};
}