Kloadut / dokku-pg-plugin

PostgreSQL plugin for Dokku
201 stars 75 forks source link

Feature: set config vars for postgre connection string #47

Closed pconerly closed 9 years ago

pconerly commented 10 years ago

The redis plugin for dokku sets a config var for the redis url. It'd be cool if this project had a config var for that too!

https://github.com/luxifer/dokku-redis-plugin/blob/master/commands#L101-L113

cameron-martin commented 10 years ago

By looking at the source code, it should create an environment variable called DATABASE_URL

https://github.com/Kloadut/dokku-pg-plugin/blob/master/commands#L167

rchrd2 commented 9 years ago

I can confirm that it created the DATABASE_URL env variable.

thepuzzlemaster commented 9 years ago

This issue should be closed. It creates the variable after you run the link command.

pconerly commented 9 years ago

sounds good, thanks