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

Ability to run as master/slave #4

Open
jonmorehouse opened this issue Mar 14, 2014 · 3 comments
Open

Ability to run as master/slave #4

jonmorehouse opened this issue Mar 14, 2014 · 3 comments

Comments

@jonmorehouse
Copy link
Collaborator

Ability to run container as a master, slave, or public-slave (public reads only).

Docker run -e SERVER_TYPE="PUBLIC_SLAVE" ... paintedfox/postgresql
Docker run -e SERVER_TYPE="MASTER" ... paintedfox/postgresql
Docker run -e SERVER_TYPE="PUBLIC" ... paintedfox/postgresql

Planning to build this out over the weekend, but wanted thoughts first

@Painted-Fox
Copy link
Owner

I've actually never setup more than one instance of PostgreSQL. I think this will be very helpful for larger deployments of PostgreSQL, but I lack the experience to have much of an opinion on the best way to implement this.

@jonmorehouse
Copy link
Collaborator Author

hopefully its not too awfully hard. I'll see what I can come up with over the weekend!

@jonmorehouse
Copy link
Collaborator Author

haven't forgotten about this feature - going to hack this up when I get a chance this week / weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants