Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Aug 16, 2017

No description provided.

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.

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.

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.

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.

@cjihrig
Copy link
Contributor Author

cjihrig commented Aug 17, 2017

@heyawhite I think I've addressed all of your comments.

This was referenced Aug 17, 2017

## Environment Variables

- `CONSUL`: consul hostname
Copy link
Contributor

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');
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@geek
Copy link
Contributor

geek commented Aug 17, 2017

After those 2 changes, LGTM!

@cjihrig
Copy link
Contributor Author

cjihrig commented Aug 18, 2017

@geek updated!

@geek geek self-assigned this Aug 18, 2017
@geek geek merged commit ce87806 into autopilotpattern:master Aug 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants