2018-07-28 14:33:43 +00:00
|
|
|
variable "image" {
|
|
|
|
description = "docker image (with tag)"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "name" {
|
|
|
|
description = "docker container name"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "ports" {
|
|
|
|
description = "list of port mappings"
|
|
|
|
type = "list"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
2019-03-13 17:25:06 +00:00
|
|
|
variable "networks_advanced" {
|
|
|
|
description = "list of networks_advanced"
|
|
|
|
type = "list"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
2018-07-28 14:33:43 +00:00
|
|
|
variable "networks" {
|
|
|
|
description = "list of networks"
|
|
|
|
type = "list"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "restart" {
|
|
|
|
description = "restart-policy"
|
|
|
|
default = "unless-stopped"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "must_run" {
|
|
|
|
description = "If true, then the Docker container will be kept running. "
|
|
|
|
default = "true"
|
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "user" {
|
|
|
|
description = "user"
|
|
|
|
default = ""
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "destroy_grace_seconds" {
|
|
|
|
description = "Container will be destroyed after n seconds or on successful stop."
|
|
|
|
default = 10
|
|
|
|
type = "string"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "command" {
|
|
|
|
description = "command"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "entrypoint" {
|
|
|
|
description = "entrypoint"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "env" {
|
|
|
|
description = "environment variables"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "labels" {
|
|
|
|
description = "labels"
|
|
|
|
default = {}
|
|
|
|
}
|
2018-07-30 06:42:58 +00:00
|
|
|
|
|
|
|
variable "xpoweredby" {
|
|
|
|
default = "X-Powered-By:Allomancy||X-Server:Blackbox"
|
|
|
|
}
|
|
|
|
|
2018-07-31 08:37:08 +00:00
|
|
|
variable "web" {
|
|
|
|
description = "Web Configuration"
|
2018-07-30 06:42:58 +00:00
|
|
|
|
2018-07-31 08:37:08 +00:00
|
|
|
default = {
|
2018-08-06 21:25:46 +00:00
|
|
|
expose = "false"
|
|
|
|
auth = "false"
|
2018-07-31 08:37:08 +00:00
|
|
|
}
|
2018-07-30 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
2018-08-02 18:29:39 +00:00
|
|
|
variable "auth_header" {
|
2018-07-31 08:37:08 +00:00
|
|
|
default = "tatooine:$2y$05$iPbatint3Gulbs6kUtyALO9Yq5sBJ..aiF82bcIziH4ytz9nFoPr6,reddit:$2y$05$ghKxSydYCpAT8r2VVMDmWO/BBecghGfLsRJUkr3ii7XxPyxBqp8Oy"
|
2018-07-30 06:42:58 +00:00
|
|
|
}
|
|
|
|
|
2019-02-16 10:12:07 +00:00
|
|
|
variable "network_mode" {
|
|
|
|
default = "bridge"
|
|
|
|
}
|
|
|
|
|
2018-07-31 08:37:08 +00:00
|
|
|
variable "resource" {
|
|
|
|
description = "Resource usage for the container"
|
|
|
|
|
2018-08-06 21:25:46 +00:00
|
|
|
default = {}
|
2018-07-30 06:42:58 +00:00
|
|
|
}
|
2018-08-21 03:00:17 +00:00
|
|
|
|
|
|
|
variable "volumes" {
|
|
|
|
description = "volumes"
|
2018-08-21 03:09:00 +00:00
|
|
|
type = "list"
|
|
|
|
default = []
|
2018-08-21 03:00:17 +00:00
|
|
|
}
|
2019-01-12 17:33:39 +00:00
|
|
|
|
2019-02-16 10:12:07 +00:00
|
|
|
variable "capabilities" {
|
|
|
|
description = "capabilities"
|
|
|
|
type = "list"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
2019-01-12 17:33:39 +00:00
|
|
|
variable "devices" {
|
2019-02-16 10:12:07 +00:00
|
|
|
description = "devices"
|
|
|
|
type = "list"
|
|
|
|
default = []
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "dns" {
|
|
|
|
description = "dns"
|
2019-01-12 17:33:39 +00:00
|
|
|
type = "list"
|
|
|
|
default = []
|
|
|
|
}
|
2019-04-27 10:54:48 +00:00
|
|
|
|
|
|
|
variable "keep_image" {
|
|
|
|
description = "keep image, don't delete"
|
|
|
|
default = false
|
|
|
|
}
|
2019-05-16 10:36:26 +00:00
|
|
|
|
|
|
|
variable "uploads" {
|
|
|
|
default = []
|
|
|
|
}
|