mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
WIP: get forgejo up with sso
This commit is contained in:
parent
d4ad65317e
commit
ad929e4532
1 changed files with 18 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
services.caddy.virtualHosts."git.wanderingcrow.net".extraConfig = ''
|
||||||
|
reverse_proxy http://localhost:3000
|
||||||
|
'';
|
||||||
|
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
@ -6,5 +10,19 @@
|
||||||
type = "sqlite3";
|
type = "sqlite3";
|
||||||
createDatabase = true;
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue