Skip to content

Commit 9bc06c4

Browse files
committed
Updates
1 parent 37b9e2b commit 9bc06c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/grafana.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ module "grafana" {
66
// Required parameters
77
dc = local.datacenter // Nomad datacenter for the cluster
88
namespace = local.namespace // Nomad namespace for the cluster
9-
hosts = ["cm2"] // Host constraint for the job
109
admin_password = local.GRAFANA_ADMIN_PASSWORD // Password for the admin user
1110

1211
// Optional parameters
1312
enabled = true // If false, no-op
13+
hosts = ["server1"] // Host constraint for the job. If not specified, the job will be deployed to one node
1414
docker_tag = "latest" // Pull the latest version of the docker image every job restart
1515
port = 3000 // Port to expose
16-
data = "/var/lib/influxdb" // Data persistence directory
16+
data = "/var/lib/influxdb" // Data persistence directory. If not set, then data is not persisted
1717
admin_email = "admin@mutablelogic" // Email address for the admin user
1818
anonymous = false // When true, allow anonymous access as a viewer
1919
}

0 commit comments

Comments
 (0)