aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-07-02 17:07:19 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-07-02 17:07:19 +0200
commit8302595f65813ac9cfdf10d150a87ed8a847f9ce (patch)
treeb9ccb8800df03745cc83aa961115b0827ba28ad2 /app
parent4fdc4a51449d09fcff5417c8ccf56d4614806bda (diff)
parent2b39a896a76b02beea23db1e3a4ab323a18a7744 (diff)
downloadinfrastructure-8302595f65813ac9cfdf10d150a87ed8a847f9ce.tar.gz
infrastructure-8302595f65813ac9cfdf10d150a87ed8a847f9ce.zip
Merge branch 'main' of git.deuxfleurs.fr:Deuxfleurs/infrastructure
Diffstat (limited to 'app')
-rw-r--r--app/docker-compose.yml2
-rw-r--r--app/postgres/build/postgres/Dockerfile1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/docker-compose.yml b/app/docker-compose.yml
index 13faf95..4e75196 100644
--- a/app/docker-compose.yml
+++ b/app/docker-compose.yml
@@ -98,7 +98,7 @@ services:
# https://github.com/sorintlab/stolon/releases
STOLON_VERSION: 057389f7e484ee1d5c1e1a7020256020e7413c87
context: ./postgres/build/postgres
- image: superboum/amd64_postgres:v8
+ image: superboum/amd64_postgres:v9
backup-consul:
build:
diff --git a/app/postgres/build/postgres/Dockerfile b/app/postgres/build/postgres/Dockerfile
index f4b36c1..329d707 100644
--- a/app/postgres/build/postgres/Dockerfile
+++ b/app/postgres/build/postgres/Dockerfile
@@ -11,5 +11,6 @@ RUN make && chmod +x /stolon/bin/*
FROM postgres:13.3-buster
COPY --from=builder /stolon/bin /usr/local/bin
+USER postgres
ENTRYPOINT []
CMD ["/bin/bash"]