Fix some formatting
This commit is contained in:
parent
695567b8aa
commit
5bbb6c494c
@ -14,7 +14,7 @@ module "traefik" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module "nomad_login" {
|
module "nomad_login" {
|
||||||
source = "IamTheFij/levant/nomad"
|
source = "IamTheFij/levant/nomad"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
template_path = "service.nomad"
|
template_path = "service.nomad"
|
||||||
@ -37,7 +37,7 @@ module "metrics" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module "loki" {
|
module "loki" {
|
||||||
source = "IamTheFij/levant/nomad"
|
source = "IamTheFij/levant/nomad"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
template_path = "service.nomad"
|
template_path = "service.nomad"
|
||||||
|
@ -126,7 +126,7 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
|
|||||||
{{ with secret "kv/data/mysql" }}
|
{{ with secret "kv/data/mysql" }}
|
||||||
MYSQL_USER=root
|
MYSQL_USER=root
|
||||||
MYSQL_PASSWORD={{ .Data.data.root_password }}
|
MYSQL_PASSWORD={{ .Data.data.root_password }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ with secret "kv/data/backups" -}}
|
{{ with secret "kv/data/backups" -}}
|
||||||
BACKUP_PASSPHRASE={{ .Data.data.backup_passphrase }}
|
BACKUP_PASSPHRASE={{ .Data.data.backup_passphrase }}
|
||||||
RCLONE_FTP_HOST={{ .Data.data.nas_ftp_host }}
|
RCLONE_FTP_HOST={{ .Data.data.nas_ftp_host }}
|
||||||
|
@ -5,7 +5,7 @@ job "Grafana" {
|
|||||||
repo = "rclone::ftp,env_auth:/nomad/grafana"
|
repo = "rclone::ftp,env_auth:/nomad/grafana"
|
||||||
passphrase = env("BACKUP_PASSPHRASE")
|
passphrase = env("BACKUP_PASSPHRASE")
|
||||||
}
|
}
|
||||||
|
|
||||||
task "Create local grafana dir" {
|
task "Create local grafana dir" {
|
||||||
pre_script {
|
pre_script {
|
||||||
on_backup = "mkdir -p /local/grafana"
|
on_backup = "mkdir -p /local/grafana"
|
||||||
|
Loading…
Reference in New Issue
Block a user