Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #785 fix typo in swarm example #815

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions examples/swarm/docker-compose-pg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ secrets:

services:
sentinel:
image: sorintlab/stolon:master-pg10
image: sorintlab/stolon:master-pg12
command: gosu stolon stolon-sentinel --cluster-name stolon-cluster --store-backend=etcdv3 --store-endpoints http://etcd-00:2379,http://etcd-01:2379,http://etcd-02:2379 --log-level debug
networks:
- etcd_etcd
Expand All @@ -22,7 +22,7 @@ services:
failure_action: pause

keeper1:
image: sorintlab/stolon:master-pg10
image: sorintlab/stolon:master-pg12
hostname: keeper1
environment:
- PGDATA=/var/lib/postgresql/data
Expand All @@ -41,15 +41,15 @@ services:
# constraints: [node.labels.nodename == node1]

keeper2:
image: sorintlab/stolon:master-pg10
image: sorintlab/stolon:master-pg12
hostname: keeper2
environment:
- PGDATA=/var/lib/postgresql/data
volumes:
- pgkeeper2:/var/lib/postgresql/data
secrets:
- pgsql
command: gosu stolon stolon-keeper --pg-listen-address keeper2 --pg-repl-username replication --uid keeper2 --pg-su-username postgres --pg-su-passwordfile /run/secrets/pgsql --pg-repl-passwordfile /run/secrets/pgsql --data-dir /var/lib/postgresql/data --cluster-name stolon-cluster --store-backend=etcdv3 --store-endpoints http://etcd-00:2379,http://etcd-01:2379,http://etcd-02:2379 --log-level debug
command: gosu stolon stolon-keeper --pg-listen-address keeper2 --pg-repl-username replication --uid keeper2 --pg-su-username postgres --pg-su-passwordfile /run/secrets/pgsql --pg-repl-passwordfile /run/secrets/pgsql_repl --data-dir /var/lib/postgresql/data --cluster-name stolon-cluster --store-backend=etcdv3 --store-endpoints http://etcd-00:2379,http://etcd-01:2379,http://etcd-02:2379 --log-level debug
networks:
- etcd_etcd
- pgdb
Expand All @@ -59,7 +59,7 @@ services:
# constraints: [node.labels.nodename == node2]

proxy:
image: sorintlab/stolon:master-pg10
image: sorintlab/stolon:master-pg12
command: gosu stolon stolon-proxy --listen-address 0.0.0.0 --cluster-name stolon-cluster --store-backend=etcdv3 --store-endpoints http://etcd-00:2379,http://etcd-01:2379,http://etcd-02:2379 --log-level info
networks:
- etcd_etcd
Expand Down