mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
server configs
This commit is contained in:
parent
830063e838
commit
72b49e6f41
1 changed files with 22 additions and 8 deletions
|
|
@ -39,7 +39,13 @@ in
|
||||||
group = "git";
|
group = "git";
|
||||||
stateDir = "/var/lib/forgejo";
|
stateDir = "/var/lib/forgejo";
|
||||||
|
|
||||||
settings.server = {
|
settings = {
|
||||||
|
DEFAULT = {
|
||||||
|
APP_NAME = "Git Server";
|
||||||
|
APP_SLOGAN = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
server = {
|
||||||
DOMAIN = "git.${domain}";
|
DOMAIN = "git.${domain}";
|
||||||
ROOT_URL = "https://git.${domain}/";
|
ROOT_URL = "https://git.${domain}/";
|
||||||
PROTOCOL = "http+unix";
|
PROTOCOL = "http+unix";
|
||||||
|
|
@ -47,6 +53,14 @@ in
|
||||||
SSH_DOMAIN = "git.${domain}";
|
SSH_DOMAIN = "git.${domain}";
|
||||||
SSH_PORT = 22;
|
SSH_PORT = 22;
|
||||||
START_SSH_SERVER = false;
|
START_SSH_SERVER = false;
|
||||||
|
LANDING_PAGE = "explore";
|
||||||
|
};
|
||||||
|
|
||||||
|
service = {
|
||||||
|
REGISTER_MANUAL_CONFIRM = true;
|
||||||
|
DISABLE_REGISTRATION = false;
|
||||||
|
DISABLE_ORGANIZATIONS = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
database = {
|
database = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue