b7408fb4d8
- Created Gitea module with outputs, provider, and variables for deployment. - Implemented Mail module including configuration for Dovecot and Postfix, along with necessary resources such as secrets, config maps, and deployments. - Added Python script for bcrypt password hashing and integrated it into the Mail module. - Defined persistent volumes and claims for Seafile module, along with Nginx configuration for serving content. - Established necessary variables for all modules to ensure flexibility and configurability.
24 lines
509 B
Terraform
24 lines
509 B
Terraform
variable "persistent_folder" {
|
|
description = "The path to the persistent folder"
|
|
type = string
|
|
}
|
|
|
|
variable "primary_domain" {
|
|
description = "The primary domain for the websites"
|
|
type = string
|
|
}
|
|
|
|
variable "tag" {
|
|
description = "The version of the websites to install"
|
|
type = string
|
|
default = "stable-alpine"
|
|
}
|
|
|
|
variable "websites" {
|
|
description = "A list of websites to be deployed"
|
|
type = map(object({
|
|
domain_name = string
|
|
fqdn = list(string)
|
|
}))
|
|
}
|