Add infinite restart policy for postgresql

This commit is contained in:
Baptiste Jonglez 2023-05-03 08:53:59 +02:00
parent 3befdea206
commit e23b523467

View file

@ -16,6 +16,13 @@ job "postgres14" {
port "psql_port" { static = 5433 } port "psql_port" { static = 5433 }
} }
restart {
interval = "10m"
attempts = 10
delay = "15s"
mode = "delay"
}
task "sentinel" { task "sentinel" {
driver = "docker" driver = "docker"