forked from Deuxfleurs/infrastructure
Upgrade stolon
This commit is contained in:
parent
87303033d1
commit
3135c38505
3 changed files with 5 additions and 5 deletions
|
@ -98,7 +98,7 @@ services:
|
||||||
# https://packages.debian.org/fr/stretch/postgresql-all
|
# https://packages.debian.org/fr/stretch/postgresql-all
|
||||||
PG_VERSION: 9.6+181+deb9u3
|
PG_VERSION: 9.6+181+deb9u3
|
||||||
context: ./postgres/build/postgres
|
context: ./postgres/build/postgres
|
||||||
image: superboum/amd64_postgres:v4
|
image: superboum/amd64_postgres:v5
|
||||||
|
|
||||||
backup-consul:
|
backup-consul:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -6,7 +6,7 @@ RUN git clone https://github.com/sorintlab/stolon .
|
||||||
RUN git pull && git checkout ${STOLON_VERSION}
|
RUN git pull && git checkout ${STOLON_VERSION}
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
COPY 0001-Add-max-rate-to-pg_basebackup.patch .
|
COPY 0001-Add-max-rate-to-pg_basebackup.patch .
|
||||||
RUN git am 0001-Add-max-rate-to-pg_basebackup.patch
|
RUN git apply 0001-Add-max-rate-to-pg_basebackup.patch
|
||||||
RUN make && chmod +x /stolon/bin/*
|
RUN make && chmod +x /stolon/bin/*
|
||||||
|
|
||||||
FROM amd64/debian:stretch
|
FROM amd64/debian:stretch
|
||||||
|
|
|
@ -20,7 +20,7 @@ job "postgres9.6" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_postgres:v4"
|
image = "superboum/amd64_postgres:v5"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
readonly_rootfs = false
|
readonly_rootfs = false
|
||||||
command = "/usr/local/bin/stolon-sentinel"
|
command = "/usr/local/bin/stolon-sentinel"
|
||||||
|
@ -39,7 +39,7 @@ job "postgres9.6" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_postgres:v4"
|
image = "superboum/amd64_postgres:v5"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
readonly_rootfs = false
|
readonly_rootfs = false
|
||||||
command = "/usr/local/bin/stolon-proxy"
|
command = "/usr/local/bin/stolon-proxy"
|
||||||
|
@ -81,7 +81,7 @@ job "postgres9.6" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_postgres:v4"
|
image = "superboum/amd64_postgres:v5"
|
||||||
network_mode = "host"
|
network_mode = "host"
|
||||||
readonly_rootfs = false
|
readonly_rootfs = false
|
||||||
command = "/usr/local/bin/stolon-keeper"
|
command = "/usr/local/bin/stolon-keeper"
|
||||||
|
|
Loading…
Reference in a new issue