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"
config {
image = "docker.service.masked.name:8082/gitea"
image = "docker.service.masked.name:8082/gitea:latest"
ports = ["http"]
volumes = [
"/mnt/raid/gitea:/data"

View file

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

View file

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