Using DATABASE_URL env variable for Dokku deployment
This commit is contained in:
parent
7f2f62c6cf
commit
413763ca5d
1 changed files with 9 additions and 7 deletions
|
|
@ -24,11 +24,13 @@ test:
|
||||||
pool: 5
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
|
# production:
|
||||||
|
# adapter: postgresql
|
||||||
|
# database: debshots
|
||||||
|
# # username: debshots
|
||||||
|
# # password: GonwannEn0
|
||||||
|
# # host: localhost
|
||||||
|
# pool: 10
|
||||||
|
# timeout: 5000
|
||||||
production:
|
production:
|
||||||
adapter: postgresql
|
url: <%= ENV['DATABASE_URL'] %>
|
||||||
database: debshots
|
|
||||||
# username: debshots
|
|
||||||
# password: GonwannEn0
|
|
||||||
# host: localhost
|
|
||||||
pool: 10
|
|
||||||
timeout: 5000
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue