diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/database.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config/database.yml b/config/database.yml index d440c4f..b7be9d6 100644 --- a/config/database.yml +++ b/config/database.yml @@ -74,13 +74,16 @@ test: # URL environment variable explicitly: # # production: -# url: <%= ENV['MY_APP_DATABASE_URL'] %> +# url: <%= ENV["MY_APP_DATABASE_URL"] %> # # Read https://guides.rubyonrails.org/configuring.html#configuring-a-database # for a full overview on how database connection configuration can be specified. # production: <<: *default - database: esoterra_production - username: esoterra - password: <%= ENV['ESOTERRA_DATABASE_PASSWORD'] %> + host: <%= ENV["ESOTERRA_DATABASE_HOST"] %> + port: <%= ENV["ESOTERRA_DATABASE_PORT"] %> + database: <%= ENV["ESOTERRA_DATABASE_NAME"] %> + username: <%= ENV["ESOTERRA_DATABASE_USERNAME"] %> + password: <%= ENV["ESOTERRA_DATABASE_PASSWORD"] %> + sslmode: "require" |