This commit is contained in:
vincent 2022-05-12 11:37:38 +02:00
parent 901643a4dd
commit a124d94d2e
3 changed files with 23 additions and 20 deletions

View File

@ -33,6 +33,9 @@ job "grafana" {
"/mnt/diskstation/nomad/grafana/lib:/var/lib/grafana" "/mnt/diskstation/nomad/grafana/lib:/var/lib/grafana"
] ]
} }
resources {
memory = 150
}
} }
} }
} }

View File

@ -38,7 +38,7 @@ job "homeassistant" {
"traefik.enable=true", "traefik.enable=true",
"traefik.http.middlewares.httpsRedirect.redirectscheme.scheme=https", "traefik.http.middlewares.httpsRedirect.redirectscheme.scheme=https",
"traefik.http.routers.${NOMAD_TASK_NAME}_insecure.middlewares=httpsRedirect", "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}.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.domains[0].sans=${NOMAD_TASK_NAME}.ducamps.win",
"traefik.http.routers.${NOMAD_TASK_NAME}.tls.certresolver=myresolver", "traefik.http.routers.${NOMAD_TASK_NAME}.tls.certresolver=myresolver",