private/skyler/baxter #5

Merged
minion merged 8 commits from private/skyler/baxter into main 2024-05-29 00:03:41 +00:00
Showing only changes of commit e1cd5994e5 - Show all commits

View file

@ -52,7 +52,7 @@ in {
ENABLED = true; ENABLED = true;
FROM = "git@${cfg.domain}"; FROM = "git@${cfg.domain}";
PROTOCOL = "smtps"; PROTOCOL = "smtps";
SMTP_ADDR = "smtp.${cfg.domain}"; SMTP_ADDR = "smtp.mailgun.org";
SMTP_PORT = 465; SMTP_PORT = 465;
USER = "git@${cfg.domain}"; USER = "git@${cfg.domain}";
}; };
@ -62,10 +62,12 @@ in {
REGISTER_EMAIL_CONFIRM = true; REGISTER_EMAIL_CONFIRM = true;
ENABLE_NOTIFY_MAIL = true; ENABLE_NOTIFY_MAIL = true;
DISABLE_REGISTRATION = false; DISABLE_REGISTRATION = false;
DEFAULT_ALLOW_CREATE_ORGANIZATION = false;
}; };
server = { server = {
DOMAIN = "${cfg.subdomain}.${cfg.domain}"; DOMAIN = "${cfg.subdomain}.${cfg.domain}";
HTTP_PORT = cfg.port; HTTP_PORT = cfg.port;
ROOT_URL = "https://${cfg.subdomain}.${cfg.domain}";
}; };
repository = { repository = {
ENABLE_PUSH_CREATE_USER = true; ENABLE_PUSH_CREATE_USER = true;
@ -75,9 +77,7 @@ in {
INSTALL_LOCK = true; INSTALL_LOCK = true;
}; };
indexer = { indexer = {
REPLO_INDEXER_ENABLED = true; REPO_INDEXER_ENABLED = true;
UPDATE_BUFFER_LEN = 20;
MAX_FILE_SIZE = 1048576;
}; };
session = { session = {
PROVIDER = "db"; PROVIDER = "db";
@ -96,6 +96,9 @@ in {
virtualHosts = { virtualHosts = {
"${cfg.subdomain}.${cfg.domain}" = { "${cfg.subdomain}.${cfg.domain}" = {
forceSSL = true;
enableACME = true;
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://localhost:${builtins.toString cfg.port}"; proxyPass = "http://localhost:${builtins.toString cfg.port}";