Thanks Robert for the corrections in the environment variables docs.
This commit is contained in:
parent
fe2f1b4481
commit
61fba0f4cc
|
@ -1,5 +1,5 @@
|
||||||
<%= 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
|
||||||
- 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
|
||||||
--- | ---
|
--- | ---
|
||||||
|
|
Loading…
Reference in New Issue