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

Creating a Slave with initial backup-fetch upon container initialisation #2

Open
intellix opened this issue Oct 8, 2015 · 3 comments

Comments

@intellix
Copy link

intellix commented Oct 8, 2015

I'm looking to migrate servers and was reading this in regards to fetching WAL data: https://gist.github.com/ruckus/2293434

What are your thoughts about passing in a master/slave environment variable which when bringing up containers?

Combined with docker-compose and swarm, the first node would be set to master and additional nodes would come up as slaves and automatically fetch-backup.

@lukesmith
Copy link
Owner

Sounds like a good idea to me. Are you able to submit a PR?

@intellix
Copy link
Author

intellix commented Oct 9, 2015

Aye, I've almost got it working at home until my internet blacked out.
Had initial issues with a broken wal-e, had to do something like: RUN pip install --upgrade wal-e requests six.

@intellix
Copy link
Author

PR as #3

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

No branches or pull requests

2 participants