-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables_service_electrs.tf
53 lines (46 loc) · 1.6 KB
/
variables_service_electrs.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# ------------------------------------------------------------------------------
# electrs
# ------------------------------------------------------------------------------
variable "electrs_instance_count" {
type = number
description = "The number of instances to run."
default = 1 # NOTE: Can only support a single instance for now !!!
}
variable "electrs_image_registry_url" {
type = string
description = "The full registry path to the Docker image including the image name."
default = "ghcr.io/vulpemventures/electrs"
}
# ------------------------------------------------------------------------------
# Container settings
# ------------------------------------------------------------------------------
variable "electrs_task_name" {
type = string
description = "The name to attach to the running container."
default = "electrs"
}
variable "electrs_image_version" {
type = string
description = "The Docker image version to use."
default = "latest"
}
variable "electrs_container_port" {
type = number
description = "The port for the electrs json-rpc api"
default = 3000
}
variable "electrs_container_memory_alloc" {
type = number
description = "The memory allocation to designate for the container."
default = 2048
}
variable "electrs_container_cpu_alloc" {
type = number
description = "The CPU allocation to designate for the container."
default = 1024
}
variable "electrs_is_essential" {
type = bool
description = "Wheteher or not to denote the container as essential."
default = true
}