e6e85b00f7
- Added getmail configuration generation using template files. - Introduced postfix and dovecot configuration checksums for deployment. - Created new dovecot configuration file and sieve script for email handling. - Updated main.tf to utilize local variables for configuration management. - Removed redundant external password hasher from main.tf. feat(nginx): improve nginx configuration management - Centralized nginx configuration into a local variable with checksum. - Created separate config maps for default website configurations. - Updated deployment to utilize new configuration structure. feat(sftpgo): add SFTPGo application deployment - Introduced SFTPGo with Kubernetes resources including namespace, config maps, and secrets. - Configured SFTPGo with SMTP settings and AWS credentials. - Implemented health checks and volume mounts for persistent storage. refactor(seafile): remove Seafile module - Deleted Seafile module and associated resources as part of cleanup.
80 lines
1.6 KiB
Terraform
80 lines
1.6 KiB
Terraform
variable "persistent_folder" {
|
|
description = "The path to the persistent folder"
|
|
type = string
|
|
}
|
|
|
|
variable "database_folder" {
|
|
description = "The path to the database folder"
|
|
type = string
|
|
}
|
|
|
|
variable "backup_folder" {
|
|
description = "The path to the backup folder"
|
|
type = string
|
|
}
|
|
|
|
variable "backup_retention_days" {
|
|
description = "The number of days to retain backups"
|
|
type = number
|
|
}
|
|
|
|
variable "backup_cron_schedule" {
|
|
description = "The cron schedule for backups"
|
|
type = string
|
|
}
|
|
|
|
variable "db_password" {
|
|
description = "The password for the Gitea MySQL database"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "db_root_password" {
|
|
description = "The root password for the MySQL database"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "tag" {
|
|
description = "The version of the websites to install"
|
|
type = string
|
|
default = "1.23.4"
|
|
}
|
|
|
|
variable "fqdn" {
|
|
description = "The fully qualified domain name for the Rustdesk server"
|
|
type = string
|
|
}
|
|
|
|
variable "app_name" {
|
|
description = "The name of the application"
|
|
type = string
|
|
}
|
|
|
|
variable "smtp_host" {
|
|
description = "The SMTP relay host"
|
|
type = string
|
|
}
|
|
|
|
variable "smtp_port" {
|
|
description = "The SMTP relay port"
|
|
type = number
|
|
}
|
|
|
|
variable "smtp_username" {
|
|
description = "The SMTP relay username"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "smtp_password" {
|
|
description = "The SMTP relay password"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "from_email" {
|
|
description = "The email address to use as the sender"
|
|
type = string
|
|
}
|