Adjust priority
This commit is contained in:
parent
a1987e1910
commit
b340ce4972
|
@ -12,7 +12,7 @@ RUN set -eux &&\
|
|||
chown root:root ldap2pg &&\
|
||||
chmod 755 ldap2pg
|
||||
|
||||
FROM danielberteaud/alpine:24.1-7
|
||||
FROM danielberteaud/alpine:24.1-8
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ENV PGHOST=localhost \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/alpine:24.1-7
|
||||
FROM danielberteaud/alpine:24.1-8
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ARG PG_FROM= \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/alma:9.24.1-5
|
||||
FROM danielberteaud/alma:9.24.1-6
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ENV PG_BASE_DATA=/data/db/
|
||||
|
|
|
@ -2,7 +2,7 @@ job "postgres" {
|
|||
|
||||
|
||||
datacenters = ["dc1"]
|
||||
priority = 100
|
||||
priority = 80
|
||||
|
||||
|
||||
group "server" {
|
||||
|
|
|
@ -44,7 +44,7 @@ pg:
|
|||
|
||||
# Set higher priority for the postgres job
|
||||
nomad:
|
||||
priority: 100
|
||||
priority: 80
|
||||
|
||||
# In recovery mode, neither patroni nor postgres will be started. The container will start and wait for manual recovery
|
||||
recovery: False
|
||||
|
|
Loading…
Reference in New Issue