https://github.com/michelp/pg-logical-rep-compose
A simple logical replication setup with native postgres logical replication
https://github.com/michelp/pg-logical-rep-compose
Last synced: 4 months ago
JSON representation
A simple logical replication setup with native postgres logical replication
- Host: GitHub
- URL: https://github.com/michelp/pg-logical-rep-compose
- Owner: michelp
- License: apache-2.0
- Created: 2022-08-05T18:08:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-05T18:12:59.000Z (almost 4 years ago)
- Last Synced: 2025-08-28T22:49:58.635Z (10 months ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pg-loglical-rep-compose
A simple logical replication setup with native postgres logical replication
## Install docker-compose
`pip install docker-compose`
## Run the servers
`docker-compose up`
## psql into either server
`docker exec -it pg-logical-rep-compose_primary_1 psql -h localhost -U postgres`
`docker exec -it pg-logical-rep-compose_secondary_1 psql -h localhost -U postgres`