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.
10 lines
270 B
Terraform
10 lines
270 B
Terraform
locals {
|
|
persistent_folder = var.persistent_folder
|
|
websites_path = "${local.persistent_folder}/web"
|
|
websites = var.websites
|
|
|
|
nginx_config = file("${path.module}/resources/nginx.conf")
|
|
nginx_config_checksum = sha256(local.nginx_config)
|
|
}
|
|
|