chore: backup infrastructure configurations [skip ci]
This commit is contained in:
26
nomad_backup/finance-app.hcl
Normal file
26
nomad_backup/finance-app.hcl
Normal file
@@ -0,0 +1,26 @@
|
||||
variable "container_version" {
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
job "finance-app" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "finance-app" {
|
||||
count = 1
|
||||
|
||||
task "finance-app" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/dailyemail-finance:${var.container_version}"
|
||||
}
|
||||
|
||||
env {
|
||||
GMAIL_USER = "stuart.stent@gmail.com"
|
||||
GMAIL_APP_PASSWORD = "qacyyoxcddwbxyfw"
|
||||
RECIPIENT_EMAIL = "stuart.stent@gmail.com,sdoltonz@gmail.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user