This commit is contained in:
Greyscale 2024-06-23 05:09:02 +02:00
parent 8e6e84c313
commit 9acb203b58
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
3 changed files with 6 additions and 2 deletions

View file

@ -3,4 +3,5 @@ module "minio" {
domain = "s3.california.ti" domain = "s3.california.ti"
network = docker_network.loadbalancer network = docker_network.loadbalancer
storage_path = "/media/storage/minio" storage_path = "/media/storage/minio"
admin_username = "techinc"
} }

View file

@ -8,8 +8,8 @@ resource "random_password" "minio_password" {
} }
locals { locals {
SERVER_URL = "https://${var.domain}" SERVER_URL = "http://${var.domain}"
UI_URL = "https://${var.domain}/ui/" UI_URL = "http://${var.domain}/ui/"
} }
resource "docker_service" "minio" { resource "docker_service" "minio" {

View file

@ -7,6 +7,9 @@ output "auth" {
output "domain" { output "domain" {
value = local.SERVER_URL value = local.SERVER_URL
} }
output "storage_path" {
value = var.storage_path
}
output "nginx_files" { output "nginx_files" {
value = module.minio_nginx_config.files value = module.minio_nginx_config.files
} }