Thanks Robert for the corrections in the environment variables docs.

This commit is contained in:
Sytse Sijbrandij 2015-12-28 09:37:59 +01:00
parent fe2f1b4481
commit 61fba0f4cc
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<%= ENV['RAILS_ENV'] %>:
adapter: <%= ENV['GITLAB_DATABASE_ADAPTER'] || 'postgresql'' %>
adapter: <%= ENV['GITLAB_DATABASE_ADAPTER'] || 'postgresql' %>
encoding: <%= ENV['GITLAB_DATABASE_ENCODING'] || 'unicode' %>
database: <%= ENV['GITLAB_DATABASE_DATABASE'] || "gitlab_#{ENV['RAILS_ENV']}" %>
pool: <%= ENV['GITLAB_DATABASE_POOL'] || '10' %>

View file

@ -26,7 +26,7 @@ As explained in the [Heroku documentation](https://devcenter.heroku.com/articles
- host
- port
To do set these please `cp config/database.yml.rb config/database.yml` and use the following variables:
To do so please `cp config/database.yml.env config/database.yml` and use the following variables:
Variable | Default
--- | ---