IAC/minio.tf
Matthew Baggett ddde0c525a
Some checks failed
Trunk Cache / Trunk Cache (push) Has been cancelled
Trunk Check / Trunk Check Runner (push) Has been cancelled
Trunk Upgrade / Upgrade Trunk (push) Has been cancelled
Refactorin
2025-01-09 09:01:54 +01:00

15 lines
610 B
HCL

module "minio" {
#source = "github.com/matthewbaggett/terraform_modules//products/minio"
source = "./lib/grey.ooo/products/minio"
depends_on = [module.traefik]
stack_name = "s3"
mounts = { "/media/storage/minio" = "/data" }
domain = "s3.${var.base_domain}"
placement_constraints = ["node.hostname == california"]
networks = [module.traefik.docker_network]
traefik = merge(var.treafik_defaults, { domain = "s3.${var.base_domain}" })
}
output "minio" {
value = module.minio.minio
}