Commit 61fba0f4 authored by Sytse Sijbrandij's avatar Sytse Sijbrandij

Thanks Robert for the corrections in the environment variables docs.

parent fe2f1b44
<%= ENV['RAILS_ENV'] %>: <%= ENV['RAILS_ENV'] %>:
adapter: <%= ENV['GITLAB_DATABASE_ADAPTER'] || 'postgresql'' %> adapter: <%= ENV['GITLAB_DATABASE_ADAPTER'] || 'postgresql' %>
encoding: <%= ENV['GITLAB_DATABASE_ENCODING'] || 'unicode' %> encoding: <%= ENV['GITLAB_DATABASE_ENCODING'] || 'unicode' %>
database: <%= ENV['GITLAB_DATABASE_DATABASE'] || "gitlab_#{ENV['RAILS_ENV']}" %> database: <%= ENV['GITLAB_DATABASE_DATABASE'] || "gitlab_#{ENV['RAILS_ENV']}" %>
pool: <%= ENV['GITLAB_DATABASE_POOL'] || '10' %> pool: <%= ENV['GITLAB_DATABASE_POOL'] || '10' %>
......
...@@ -26,7 +26,7 @@ As explained in the [Heroku documentation](https://devcenter.heroku.com/articles ...@@ -26,7 +26,7 @@ As explained in the [Heroku documentation](https://devcenter.heroku.com/articles
- host - host
- port - 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 Variable | Default
--- | --- --- | ---
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment