Just some minor tweaks

This commit is contained in:
2024-08-13 11:55:49 +02:00
parent 7391d63f46
commit 9de4e2ac93
4 changed files with 12 additions and 11 deletions
Binary file not shown.
+8 -9
View File
@@ -3,11 +3,11 @@ version: '3.3'
services:
primary:
hostname: 'primary'
image: crunchydata/crunchy-postgres:centos7-10.3-1.8.2
image: crunchydata/crunchy-postgres:ubi8-15.2-0
secrets:
- postgres_primary
- postgres_password
- postgres_rootpw
- postgres_primary
- postgres_password
- postgres_rootpw
environment:
- PGHOST=/tmp
- MAX_CONNECTIONS=10
@@ -25,14 +25,14 @@ services:
ports:
- '5432'
networks:
- infra
- postgres
deploy:
placement:
constraints:
- node.labels.type == primary
- node.role == worker
replica:
image: crunchydata/crunchy-postgres:centos7-10.3-1.8.2
image: crunchydata/crunchy-postgres:ubi8-15.2-0
secrets:
- postgres_primary
- postgres_password
@@ -55,15 +55,14 @@ services:
ports:
- '5432'
networks:
- infra
- postgres
deploy:
placement:
constraints:
- node.labels.type != primary
- node.role == worker
networks:
infra:
postgres:
volumes:
pg-primary-vol:
pg-replica-vol: