Specify latest for nomad jobs

This commit is contained in:
Amarpreet Minhas 2022-03-26 18:07:34 -04:00
parent 89b8c99e6f
commit 1e45532183
3 changed files with 4 additions and 3 deletions

View file

@ -23,7 +23,7 @@ job "gitea" {
} }
driver = "docker" driver = "docker"
config { config {
image = "docker.service.masked.name:8082/gitea" image = "docker.service.masked.name:8082/gitea:latest"
ports = ["http"] ports = ["http"]
volumes = [ volumes = [
"/mnt/raid/gitea:/data" "/mnt/raid/gitea:/data"

View file

@ -23,7 +23,7 @@ job "nextcloud" {
} }
driver = "docker" driver = "docker"
config { config {
image = "docker.service.masked.name:8082/nextcloud:21.0.0-apache" image = "docker.service.masked.name:8082/nextcloud:latest"
ports = ["nextcloud"] ports = ["nextcloud"]
volumes = [ volumes = [
"/mnt/raid/nextcloud/:/var/www/html" "/mnt/raid/nextcloud/:/var/www/html"

View file

@ -5,9 +5,10 @@ job "sudoscientist-go-backend" {
constraint { constraint {
attribute = "${attr.cpu.arch}" attribute = "${attr.cpu.arch}"
value = "arm64" value = "amd64"
} }
update { update {
stagger = "30s" stagger = "30s"
max_parallel = 1 max_parallel = 1