feat(gitea): refactor configuration to use structured app_config and add TLS support
This commit is contained in:
+22
-10
@@ -64,19 +64,31 @@ module "gitea" {
|
||||
backup_retention_days = local.local_backup_retention_days
|
||||
backup_cron_schedule = local.gitea_sql_backup_cron_schedule
|
||||
|
||||
db_password = var.gitea_mysql_password
|
||||
db_root_password = var.mysql_root_password
|
||||
|
||||
tag = local.gitea_version
|
||||
fqdn = local.gitea_fqdn
|
||||
app_name = "A13Labs git repository"
|
||||
tag = local.gitea_version
|
||||
fqdn = local.gitea_fqdn
|
||||
|
||||
smtp_host = local.scaleway_smtp_host
|
||||
smtp_port = local.scaleway_smtp_port
|
||||
smtp_username = var.scaleway_project_id
|
||||
smtp_password = scaleway_iam_api_key.mail_app_api.secret_key
|
||||
|
||||
from_email = "gitea@${local.primary_domain}"
|
||||
app_config = {
|
||||
app_name = "A13Labs git repository"
|
||||
domain = local.gitea_fqdn
|
||||
lfs_jwt_secret = var.gitea_lfs_jwt_secret
|
||||
db_passwd = var.gitea_mysql_password
|
||||
jwt_secret = var.gitea_jwt_secret
|
||||
mail_from = "gitea@${local.primary_domain}"
|
||||
no_reply_address = "no-reply@${local.primary_domain}"
|
||||
smtp_user = var.scaleway_project_id
|
||||
db_password = var.gitea_mysql_password
|
||||
smtp_host = local.scaleway_smtp_host
|
||||
smtp_port = local.scaleway_smtp_port
|
||||
smtp_user = var.scaleway_project_id
|
||||
smtp_passwd = scaleway_iam_api_key.mail_app_api.secret_key
|
||||
secret_key = var.gitea_secret_key
|
||||
internal_token = var.gitea_internal_token
|
||||
disable_ssh = false
|
||||
ssh_port = 22
|
||||
disable_registration = true
|
||||
}
|
||||
}
|
||||
|
||||
module "sftpgo" {
|
||||
|
||||
Reference in New Issue
Block a user