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

make the container easily configurable #177

Closed
wants to merge 2 commits into from

Conversation

TomasTomecek
Copy link
Contributor

TODO

  • should the changes be added to 9.4 and 9.2?

For more info, see https://github.com/TomasTomecek/flexible-postgresql-demo

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@rhscl-bot
Copy link

Can one of the admins verify this patch?

1 similar comment
@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

@pkubatrh
Copy link
Member

[test]

@TomasTomecek
Copy link
Contributor Author

I would love to get some feedback here -- what maintainers think about this approach.

@@ -61,6 +61,29 @@ or if it was already present, [`postgres`](http://www.postgresql.org/docs/9.2/st
is executed and will run as PID 1. You can stop the detached container by running
`docker stop postgresql_database`.

Supplying custom configuration file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about add notice about "how to supply custom configuration file"? This section is mainly about getting configuration template.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point! there's nothing about running postgres while using the custom template config; will add

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@omron93 I added a commit which should address your comment.

will squash before merge

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@pkubatrh
Copy link
Member

pkubatrh commented Jul 21, 2017

Since we are now looking into the possibility of introducing the source-to-image functionality for daemon based images it might make sense to not merge the PR right now, as the way the configuration files are used might get changed (e.g. being stored in /opt/app-root/src/ instead).

@TomasTomecek
Copy link
Contributor Author

What would be the timeline for s2i-based postgresql?

@hhorak
Copy link
Member

hhorak commented Jul 26, 2017

What would be the timeline for s2i-based postgresql?

I'd say weeks, we already know how to do it (follow the ready-to-merge PR for mongodb available at sclorg/mongodb-container#239).

@TomasTomecek
Copy link
Contributor Author

closing this PR as per above

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

Successfully merging this pull request may close these issues.

6 participants