indent
This commit is contained in:
parent
901643a4dd
commit
a124d94d2e
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
|
@ -60,17 +60,17 @@ job "traefik-local" {
|
||||
}
|
||||
# vault{
|
||||
#}
|
||||
env {
|
||||
}
|
||||
template{
|
||||
data=<<EOH
|
||||
GANDIV5_API_KEY = "{{with secret "secrets/data/gandi"}}{{.Data.data.API_KEY}}{{end}}"
|
||||
EOH
|
||||
destination= "secrets/gandi.env"
|
||||
env = true
|
||||
}
|
||||
env {
|
||||
}
|
||||
template{
|
||||
data=<<EOH
|
||||
GANDIV5_API_KEY = "{{with secret "secrets/data/gandi"}}{{.Data.data.API_KEY}}{{end}}"
|
||||
EOH
|
||||
destination= "secrets/gandi.env"
|
||||
env = true
|
||||
}
|
||||
|
||||
template{
|
||||
template{
|
||||
data= <<EOH
|
||||
[entryPoints]
|
||||
[entryPoints.web]
|
||||
|
Loading…
Reference in New Issue
Block a user