From a124d94d2e1b4c95e67e679e8054d5306c6b05c3 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 12 May 2022 11:37:38 +0200 Subject: [PATCH] indent --- grafana.nomad | 21 ++++++++++++--------- homeassistant.nomad | 2 +- traefik-local.nomad | 20 ++++++++++---------- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/grafana.nomad b/grafana.nomad index 83d9f00..3a4675d 100644 --- a/grafana.nomad +++ b/grafana.nomad @@ -24,15 +24,18 @@ job "grafana" { } task "dashboard" { - driver = "docker" - config { - image = "grafana/grafana" - ports = ["http"] - volumes = [ - "/mnt/diskstation/nomad/grafana/config:/etc/grafana", - "/mnt/diskstation/nomad/grafana/lib:/var/lib/grafana" - ] - } + driver = "docker" + config { + image = "grafana/grafana" + ports = ["http"] + volumes = [ + "/mnt/diskstation/nomad/grafana/config:/etc/grafana", + "/mnt/diskstation/nomad/grafana/lib:/var/lib/grafana" + ] + } + resources { + memory = 150 + } } } } diff --git a/homeassistant.nomad b/homeassistant.nomad index b320f11..87335fd 100644 --- a/homeassistant.nomad +++ b/homeassistant.nomad @@ -38,7 +38,7 @@ job "homeassistant" { "traefik.enable=true", "traefik.http.middlewares.httpsRedirect.redirectscheme.scheme=https", "traefik.http.routers.${NOMAD_TASK_NAME}_insecure.middlewares=httpsRedirect", - "traefik.http.routers.${NOMAD_TASK_NAME}_insecure.rule=Host(`${NOMAD_TASK_NAME}.ducamps.win`)" + "traefik.http.routers.${NOMAD_TASK_NAME}_insecure.rule=Host(`${NOMAD_TASK_NAME}.ducamps.win`)", "traefik.http.routers.${NOMAD_TASK_NAME}.rule=Host(`${NOMAD_TASK_NAME}.ducamps.win`)", "traefik.http.routers.${NOMAD_TASK_NAME}.tls.domains[0].sans=${NOMAD_TASK_NAME}.ducamps.win", "traefik.http.routers.${NOMAD_TASK_NAME}.tls.certresolver=myresolver", diff --git a/traefik-local.nomad b/traefik-local.nomad index 461adb9..67544d2 100644 --- a/traefik-local.nomad +++ b/traefik-local.nomad @@ -60,17 +60,17 @@ job "traefik-local" { } # vault{ #} - env { - } - template{ - data=<