2024-06-21 16:02:42 +00:00
|
|
|
module "minio" {
|
2025-01-09 08:01:54 +00:00
|
|
|
#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}" })
|
2024-06-21 16:02:42 +00:00
|
|
|
}
|
2025-01-09 08:01:54 +00:00
|
|
|
output "minio" {
|
|
|
|
value = module.minio.minio
|
|
|
|
}
|
|
|
|
|