diff --git a/minio.tf b/minio.tf index de092ec..18cce2b 100644 --- a/minio.tf +++ b/minio.tf @@ -3,4 +3,5 @@ module "minio" { domain = "s3.california.ti" network = docker_network.loadbalancer storage_path = "/media/storage/minio" + admin_username = "techinc" } diff --git a/modules/minio/minio.tf b/modules/minio/minio.tf index d0fe7ba..c90a21e 100644 --- a/modules/minio/minio.tf +++ b/modules/minio/minio.tf @@ -8,8 +8,8 @@ resource "random_password" "minio_password" { } locals { - SERVER_URL = "https://${var.domain}" - UI_URL = "https://${var.domain}/ui/" + SERVER_URL = "http://${var.domain}" + UI_URL = "http://${var.domain}/ui/" } resource "docker_service" "minio" { diff --git a/modules/minio/outputs.tf b/modules/minio/outputs.tf index 9475641..411369f 100644 --- a/modules/minio/outputs.tf +++ b/modules/minio/outputs.tf @@ -7,6 +7,9 @@ output "auth" { output "domain" { value = local.SERVER_URL } +output "storage_path" { + value = var.storage_path +} output "nginx_files" { value = module.minio_nginx_config.files }