From 5e2deeaa94bf7b379e0e4d4e8410464ae4b5d00d Mon Sep 17 00:00:00 2001 From: lzzhang Date: Mon, 16 Oct 2023 15:28:46 +0800 Subject: [PATCH] update script image version --- script/docker-compose.yaml | 6 +++--- script/docker_run | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/script/docker-compose.yaml b/script/docker-compose.yaml index 2f9e849..122b5a4 100644 --- a/script/docker-compose.yaml +++ b/script/docker-compose.yaml @@ -5,7 +5,7 @@ networks: services: pg15-auto: - image: "radondb/radondb-postgresql:15.0-v1.2.0" + image: "radondb/radondb-postgresql:15.3-v1.3.1" container_name: "pg15-auto" command: auto_failover restart: always @@ -22,7 +22,7 @@ services: networks: - bitnet pg15-readwrite: - image: "radondb/radondb-postgresql:15.0-v1.2.0" + image: "radondb/radondb-postgresql:15.3-v1.3.1" container_name: "pg15-readwrite" command: auto_failover restart: always @@ -47,7 +47,7 @@ services: networks: - bitnet pg15-readonly: - image: "radondb/radondb-postgresql:15.0-v1.2.0" + image: "radondb/radondb-postgresql:15.3-v1.3.1" container_name: "pg15-readonly" command: auto_failover restart: always diff --git a/script/docker_run b/script/docker_run index 355e942..6e479ba 100644 --- a/script/docker_run +++ b/script/docker_run @@ -4,13 +4,13 @@ create net: docker network create test monitor: -docker run --rm -it --net=test -h monitor --name monitor -e PG_MODE=monitor -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=monitor radondb-postgresql:15.0-v1.1.0 auto_failover +docker run --rm -it --net=test -h monitor --name monitor -e PG_MODE=monitor -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=monitor radondb-postgresql:15.3-v1.3.1 auto_failover readwrite: -docker run --rm -it --net=test -h readwrite --name readwrite -e PG_MODE=readwrite -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=readwrite -e MONITOR_HOSTNAME=monitor -e AUTOCTL_REPLICATOR_PASSWORD=password -e PG_CONFIG_port=5432 radondb-postgresql:15.0-v1.1.0 auto_failover +docker run --rm -it --net=test -h readwrite --name readwrite -e PG_MODE=readwrite -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=readwrite -e MONITOR_HOSTNAME=monitor -e AUTOCTL_REPLICATOR_PASSWORD=password -e PG_CONFIG_port=5432 radondb-postgresql:15.3-v1.3.1 auto_failover standby: -docker run --rm -it --net=test -h standby --name standby -e PG_MODE=readwrite -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=standby -e MONITOR_HOSTNAME=monitor -e AUTOCTL_REPLICATOR_PASSWORD=password -e PG_CONFIG_port=5432 radondb-postgresql:15.0-v1.1.0 auto_failover +docker run --rm -it --net=test -h standby --name standby -e PG_MODE=readwrite -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=standby -e MONITOR_HOSTNAME=monitor -e AUTOCTL_REPLICATOR_PASSWORD=password -e PG_CONFIG_port=5432 radondb-postgresql:15.3-v1.3.1 auto_failover readonly: -docker run --rm -it --net=test -h readonly --name readonly -e PG_MODE=readonly -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=readonly -e MONITOR_HOSTNAME=monitor -e AUTOCTL_REPLICATOR_PASSWORD=password -e PG_STREAMING=sync -e PG_CONFIG_port=5432 radondb-postgresql:15.0-v1.1.0 auto_failover +docker run --rm -it --net=test -h readonly --name readonly -e PG_MODE=readonly -e AUTOCTL_NODE_PASSWORD=password -e EXTERNAL_HOSTNAME=readonly -e MONITOR_HOSTNAME=monitor -e AUTOCTL_REPLICATOR_PASSWORD=password -e PG_STREAMING=sync -e PG_CONFIG_port=5432 radondb-postgresql:15.3-v1.3.1 auto_failover