chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
variable "container_version" {
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
job "fitbit-garmin-sync" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
@@ -9,11 +13,15 @@ job "fitbit-garmin-sync" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/fitbit_garmin_sync:latest"
|
||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/fitbit_garmin_sync:${var.container_version}"
|
||||
volumes = [
|
||||
"/mnt/Public/configs/fitbit-garmin-sync:/app/data"
|
||||
]
|
||||
memory_hard_limit = 2048
|
||||
}
|
||||
env {
|
||||
CONFIG_SOURCE = "consul"
|
||||
}
|
||||
|
||||
# Sensible resource allocation for a lightweight Python script.
|
||||
resources {
|
||||
|
||||
Reference in New Issue
Block a user