shuttles #2
|
|
@ -30,7 +30,7 @@ variable "server_url" {
|
||||||
locals {
|
locals {
|
||||||
env_file_host_path = "/opt/storage/data/tmail-web/env.file"
|
env_file_host_path = "/opt/storage/data/tmail-web/env.file"
|
||||||
env_file_container_path = "/usr/share/nginx/html/assets/env.file"
|
env_file_container_path = "/usr/share/nginx/html/assets/env.file"
|
||||||
env_file_content = "SERVER_URL=${var.server_url}\nDOMAIN_REDIRECT_URL=mail.${var.server_domain}\n"
|
env_file_content = "SERVER_URL=${var.server_url}\nDOMAIN_REDIRECT_URL=https://mail.${var.server_domain}\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "null_resource" "tmail_env_file" {
|
resource "null_resource" "tmail_env_file" {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue