Basically, if you prefer to use DATABASE_URL in your application better than creating the whole database.yml thing, set the following ENV variable in your wercker app settings:
- APP_POSTGRES_PASSWORD (required)
- APP_POSTGRES_USER (optional)
- APP_POSTGRES_DB (optional)
- DATABASE_URL (value below)
name: DATABASE_URL