Using DATABASE_URL env variable for Dokku deployment

This commit is contained in:
Christoph Haas 2021-02-13 00:39:25 +01:00
parent 7f2f62c6cf
commit 413763ca5d

View file

@ -24,11 +24,13 @@ test:
pool: 5
timeout: 5000
# production:
# adapter: postgresql
# database: debshots
# # username: debshots
# # password: GonwannEn0
# # host: localhost
# pool: 10
# timeout: 5000
production:
adapter: postgresql
database: debshots
# username: debshots
# password: GonwannEn0
# host: localhost
pool: 10
timeout: 5000
url: <%= ENV['DATABASE_URL'] %>