Whitespace
This commit is contained in:
parent
eeca39baa8
commit
93f0f03cd7
5 changed files with 0 additions and 7 deletions
products
|
@ -6,7 +6,6 @@ output "registry_user_login" {
|
||||||
for user, pass in local.registry_users : user => "docker login -u ${user} -p${pass} ${var.domain}"
|
for user, pass in local.registry_users : user => "docker login -u ${user} -p${pass} ${var.domain}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
output "domain" {
|
output "domain" {
|
||||||
value = var.domain
|
value = var.domain
|
||||||
}
|
}
|
|
@ -3,13 +3,11 @@ variable "stack_name" {
|
||||||
type = string
|
type = string
|
||||||
description = "The name of the stack to create."
|
description = "The name of the stack to create."
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "default_image" {
|
variable "default_image" {
|
||||||
default = "ghcr.io/home-assistant/home-assistant:stable"
|
default = "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
type = string
|
type = string
|
||||||
description = "The image to use for the homeassistant service"
|
description = "The image to use for the homeassistant service"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "environment_variables" {
|
variable "environment_variables" {
|
||||||
type = map(string)
|
type = map(string)
|
||||||
default = {}
|
default = {}
|
||||||
|
|
|
@ -19,7 +19,6 @@ module "service" {
|
||||||
ports = var.ports
|
ports = var.ports
|
||||||
placement_constraints = var.placement_constraints
|
placement_constraints = var.placement_constraints
|
||||||
}
|
}
|
||||||
|
|
||||||
locals {
|
locals {
|
||||||
volumes = var.data_persist_path == null ? {
|
volumes = var.data_persist_path == null ? {
|
||||||
"data" = "/var/lib/mysql"
|
"data" = "/var/lib/mysql"
|
||||||
|
|
|
@ -16,7 +16,6 @@ variable "networks" {
|
||||||
default = []
|
default = []
|
||||||
description = "A list of network names to attach the service to."
|
description = "A list of network names to attach the service to."
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "traefik" {
|
variable "traefik" {
|
||||||
default = null
|
default = null
|
||||||
type = object({
|
type = object({
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
output "docker_service" {
|
output "docker_service" {
|
||||||
value = module.pgbackweb.docker_service
|
value = module.pgbackweb.docker_service
|
||||||
}
|
}
|
||||||
|
|
||||||
output "postgres" {
|
output "postgres" {
|
||||||
value = module.postgres
|
value = module.postgres
|
||||||
}
|
}
|
||||||
|
|
||||||
output "network" {
|
output "network" {
|
||||||
value = module.network.network
|
value = module.network.network
|
||||||
}
|
}
|
Loading…
Reference in a new issue