Fix some formatting

This commit is contained in:
IamTheFij 2022-11-03 15:10:09 -07:00
parent 695567b8aa
commit 5bbb6c494c
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ module "traefik" {
}
module "nomad_login" {
source = "IamTheFij/levant/nomad"
source = "IamTheFij/levant/nomad"
version = "0.1.0"
template_path = "service.nomad"
@ -37,7 +37,7 @@ module "metrics" {
}
module "loki" {
source = "IamTheFij/levant/nomad"
source = "IamTheFij/levant/nomad"
version = "0.1.0"
template_path = "service.nomad"

View File

@ -126,7 +126,7 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
{{ with secret "kv/data/mysql" }}
MYSQL_USER=root
MYSQL_PASSWORD={{ .Data.data.root_password }}
{{ end -}}
{{ end -}}
{{ with secret "kv/data/backups" -}}
BACKUP_PASSPHRASE={{ .Data.data.backup_passphrase }}
RCLONE_FTP_HOST={{ .Data.data.nas_ftp_host }}

View File

@ -5,7 +5,7 @@ job "Grafana" {
repo = "rclone::ftp,env_auth:/nomad/grafana"
passphrase = env("BACKUP_PASSPHRASE")
}
task "Create local grafana dir" {
pre_script {
on_backup = "mkdir -p /local/grafana"