Skip to content

Commit

Permalink
update script image version
Browse files Browse the repository at this point in the history
  • Loading branch information
zlianzhuang committed Oct 16, 2023
1 parent b38ae67 commit 5e2deea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions script/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions script/docker_run
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5e2deea

Please sign in to comment.