You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heroku and Dokku only offer a single DATABASE_URL when deploying an application. It would be convenient to create a DataSourceFactory using just this url.
The alternative is to parse the DATABASE_URL and pluck username and password from there, but this is error-prone and makes it hard to use different databases, like h2 in test.
Heroku and Dokku only offer a single DATABASE_URL when deploying an application. It would be convenient to create a DataSourceFactory using just this url.
The alternative is to parse the DATABASE_URL and pluck username and password from there, but this is error-prone and makes it hard to use different databases, like h2 in test.
Example database_url:
DATABASE_URL=postgres://postgres:SOME_PASSWORD@172.17.0.1:5432/lolipop
Example database-configuration:
Also, see http://stackoverflow.com/questions/32705394/dropwizard-datasourcefactory-on-heroku-with-just-database-url
The text was updated successfully, but these errors were encountered: