mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Make production environment work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user