feat: Add Nomad deployment configuration and update email handling
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 19s

This commit is contained in:
2026-01-18 06:32:37 -08:00
parent bb6e4b995f
commit 5e987ce26e
5 changed files with 70 additions and 1 deletions

26
finance-app.nomad Normal file
View File

@@ -0,0 +1,26 @@
job "finance-app" {
datacenters = ["dc1"]
type = "service"
variable "container_version" {
default = "latest"
}
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"
}
}
}
}