nebirhos / docker-postgres-replication Goto Github PK
View Code? Open in Web Editor NEWPostgres streaming replication with Docker containers
Postgres streaming replication with Docker containers
I don't find any information about how to promote slave to master? pls advise
Would you considering open sourcing this?
(I believe lacking a LICENSE file, US entities don't have a clear license to download and use works like this) :(
If I submitted a PR for a MIT license, would that be considered?
Thanks, Cameron
Thanks for the great implementation! This is the best, most non-intrusive I've found after lots of googling. The main image translates any environment variable with _FILE extension to the value contained in the file. This allows for not exposing secrets on production servers. Does this image also do that?
Thanks again!
When starting the slave instance, I'm getting the following error:
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/20-replication.sh
error: failed switching to "postgres": operation not permitted
Hello, thank you for this repository. I have a problem, i want to run my application and the master database on my local machine and the slave on a server on the cloud, should i configure something else to the slave? because it seems that you are linking the containers in local but in my case they are separated and i have to make them connect via ip's or domain names.
Im already exposing my local machine to the internet via a tcp tunnel to a domain.
I have tried running the slave with the POSTGRES_MASTER_SERVICE_HOST = and with POSTGRES_MASTER_SERVICE_PORT= and without the link option but it seems that the postgres service didn't start because i can't connect to psql on the slave
UPDATE
It was working but postgres user didn't have access to "psql", but root yes. whatever, its working, thank you man.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.