Whitespace
This commit is contained in:
parent
e42a6e9014
commit
94e1e630fe
6 changed files with 20 additions and 20 deletions
products
archiveteam/warrior
memcached
mysql
postgres
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
|
@ -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" {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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" {
|
||||
|
|
|
@ -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" {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue