diff --git a/products/archiveteam/warrior/warrior.tf b/products/archiveteam/warrior/warrior.tf index 238b686..e920d5c 100644 --- a/products/archiveteam/warrior/warrior.tf +++ b/products/archiveteam/warrior/warrior.tf @@ -21,8 +21,8 @@ module "warrior" { "CONCURRENT_ITEMS" = var.concurrency "SHARED_RSYNC_THREADS" = var.shared_rsync_threads } - parallelism = var.warrior_instances - traefik = var.traefik + parallelism = var.warrior_instances + traefik = var.traefik converge_enable = false # @todo MB: add healthcheck and fix this. } diff --git a/products/memcached/inputs.tf b/products/memcached/inputs.tf index c0e96ea..3725d14 100644 --- a/products/memcached/inputs.tf +++ b/products/memcached/inputs.tf @@ -28,8 +28,8 @@ variable "stack_name" { type = string } variable "service_name" { - default = "memcached" - type = string + default = "memcached" + type = string description = "The name of the service to create." } variable "networks" { diff --git a/products/memcached/memcached.tf b/products/memcached/memcached.tf index 957acc8..aee7352 100644 --- a/products/memcached/memcached.tf +++ b/products/memcached/memcached.tf @@ -1,20 +1,20 @@ module "service" { - source = "../../docker/service" - image = "${var.memcached_image}:${var.memcached_version}" - stack_name = var.stack_name - service_name = var.service_name - networks = var.networks - command = ["memcached", "--memory-limit", var.memory_limit_mb, "--threads", var.threads, "--connection-limit", var.connection_limit] + source = "../../docker/service" + image = "${var.memcached_image}:${var.memcached_version}" + stack_name = var.stack_name + service_name = var.service_name + networks = var.networks + command = ["memcached", "--memory-limit", var.memory_limit_mb, "--threads", var.threads, "--connection-limit", var.connection_limit] #healthcheck = ["CMD-SHELL", "echo \"version\" | nc -vn -w 1 127.0.0.1 11211"] #healthcheck_start_period = "10s" #healthcheck_interval = "10s" #healthcheck_timeout = "5s" #healthcheck_retries = 3 - converge_enable = false # @todo MB: fix healthcheck and fix this. - volumes = local.volumes - mounts = local.mounts - ports = var.ports - placement_constraints = var.placement_constraints + converge_enable = false # @todo MB: fix healthcheck and fix this. + volumes = local.volumes + mounts = local.mounts + ports = var.ports + placement_constraints = var.placement_constraints } locals { diff --git a/products/mysql/inputs.tf b/products/mysql/inputs.tf index 2a834da..c1945f9 100644 --- a/products/mysql/inputs.tf +++ b/products/mysql/inputs.tf @@ -33,8 +33,8 @@ variable "stack_name" { type = string } variable "service_name" { - default = "mysql" - type = string + default = "mysql" + type = string description = "The name of the service to create." } variable "networks" { diff --git a/products/postgres/inputs.tf b/products/postgres/inputs.tf index eaacacc..0030a3d 100644 --- a/products/postgres/inputs.tf +++ b/products/postgres/inputs.tf @@ -28,8 +28,8 @@ variable "stack_name" { type = string } variable "service_name" { - default = "postgres" - type = string + default = "postgres" + type = string description = "The name of the service to create." } variable "networks" { diff --git a/products/postgres/postgres.tf b/products/postgres/postgres.tf index 5191eff..d6a9931 100644 --- a/products/postgres/postgres.tf +++ b/products/postgres/postgres.tf @@ -2,7 +2,7 @@ module "service" { source = "../../docker/service" image = "${var.postgres_image}:${var.postgres_version}" stack_name = var.stack_name - service_name = var.service_name + service_name = var.service_name networks = var.networks healthcheck = ["CMD-SHELL", "pg_isready", "-U", local.username, "-d", local.database] healthcheck_interval = "10s"