-
Notifications
You must be signed in to change notification settings - Fork 7
initial implementation #3
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
Conversation
README.md
Outdated
| Work in progress, not stable, expect force pushes of this repo | ||
| # Autopilot Pattern Postgres | ||
|
|
||
| Postgres designed for automated operation using the [Autopilot Pattern](http://autopilotpattern.io/). This repo serves as a blueprint demonstrating the pattern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be restructured:
This repo serves as a blueprint demonstrating Postgres designed for automated operation using the Autopilot Pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, is it worth mentioning it's an extension of an official image and linking out to said image?
README.md
Outdated
| $ docker-compose scale db=3 | ||
| ``` | ||
|
|
||
| The first instance creates a Postgres master. All additional instances create read only replicas. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read-only should have a hyphen.
|
@heyawhite I think I've addressed all of your comments. |
|
|
||
| ## Environment Variables | ||
|
|
||
| - `CONSUL`: consul hostname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG_LEVEL is also supported
| @@ -0,0 +1,112 @@ | |||
| 'use strict'; | |||
| const Cp = require('child_process'); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you belly-button linted this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't, but don't threaten me with a good time.
|
After those 2 changes, LGTM! |
|
@geek updated! |
No description provided.