File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,19 +12,11 @@ job "codinggrace-backup" {
1212 payload = " forbidden"
1313 }
1414
15- update {
16- stagger = " 10s"
17- max_parallel = 1
18- }
19-
2015 group "codinggrace-backup" {
2116 count = 1
2217
2318 restart {
24- attempts = 10
25- interval = " 5m"
26- delay = " 25s"
27- mode = " delay"
19+ mode = " fail"
2820 }
2921
3022 ephemeral_disk {
@@ -36,7 +28,7 @@ job "codinggrace-backup" {
3628
3729
3830 config {
39- image = " gitlab.twomeylee.name:7443/twomeylee/postgresql-backup:latest "
31+ image = " gitlab.twomeylee.name:7443/twomeylee/postgresql-backup:build-258 "
4032 command = " /bin/sh"
4133 args = [" ${ NOMAD_TASK_DIR } /run.sh" ]
4234 }
@@ -47,11 +39,7 @@ job "codinggrace-backup" {
4739 }
4840
4941 resources {
50- cpu = 500
5142 memory = 256
52- network {
53- mbits = 100
54- }
5543 }
5644
5745 template {
You can’t perform that action at this time.
0 commit comments