GithubHelp home page GithubHelp logo

docker-postgres-replication's People

Contributors

gimly avatar joeyates avatar nebirhos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-postgres-replication's Issues

License file?

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

Does _FILE work for REPLICATION_PASSWORD for using docker secrets

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!

Getting an error when starting the slave instance

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

Running slave on the cloud

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.