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

Set postgres image/version with postgres:create option #61

Closed
treythomas123 opened this issue Apr 18, 2016 · 4 comments
Closed

Set postgres image/version with postgres:create option #61

treythomas123 opened this issue Apr 18, 2016 · 4 comments

Comments

@treythomas123
Copy link
Contributor

I know you can choose a non-default postgres version like this:

POSTGRES_IMAGE_VERSION=9.4 dokku postgres:create <name>

But I usually use the dokku shell through SSH, and I don't see a way to set the postgres version when running like this. I'd like to be able to do the following:

ssh dokku@hostname postgres:create <name> -v 9.4

or maybe this way, to also support different images:

ssh dokku@hostname postgres:create <name> -i postgres:9.4

Is there a way to do this already that I'm not seeing? Or would you be open to a PR to add this option?

@treythomas123 treythomas123 changed the title Option to set postgres version with postgres:create <appname> <version> Set postgres image/version with postgres:create option Apr 18, 2016
@josegonzalez
Copy link
Member

No way to do it atm. If you want this feature, you're gonna have to build it for us.

@josegonzalez
Copy link
Member

The proposal for this is available in this issue comment: dokku/dokku-mongo#37 (comment)

@josegonzalez
Copy link
Member

See dokku/dokku-redis/issues/64 for more information.

@josegonzalez
Copy link
Member

This is now implemented.

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