Make production environment work

This commit is contained in:
riggraz
2019-10-16 17:27:37 +02:00
parent 22fd672efd
commit a97c952191
7 changed files with 40 additions and 13 deletions

View File

@@ -21,11 +21,10 @@ default: &default
host: db
username: <%= ENV['POSTGRES_USER'] %>
password: <%= ENV['POSTGRES_PASSWORD'] %>
database: <%= ENV['POSTGRES_USER'] %>
development:
<<: *default
database: app_development
# The specified database role being used to connect to postgres.
# To create additional roles in postgres see `$ createuser --help`.
# When left blank, postgres will use the default role. This is
@@ -59,7 +58,7 @@ development:
test:
<<: *default
database: app_test
# As with config/credentials.yml, you never want to store sensitive information,
# like your database password, in your source code. If your source code is
# ever seen by anyone, they now have access to your database.
@@ -81,4 +80,3 @@ test:
#
production:
<<: *default
database: app_production