Commit 217069e9504f561c275b723ec4754439272ea7de
1 parent
7ad46c9e
Exists in
master
and in
1 other branch
Reverting mongoid.example.yml change.
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
config/mongoid.example.yml
| ... | ... | @@ -26,8 +26,8 @@ test: |
| 26 | 26 | # set these environment variables on your prod server |
| 27 | 27 | production: |
| 28 | 28 | <<: *defaults |
| 29 | - host: localhost | |
| 30 | - port: 27018 | |
| 31 | - username: errbit | |
| 32 | - password: | |
| 33 | - database: errbit | |
| 34 | 29 | \ No newline at end of file |
| 30 | + host: <%= ENV['MONGOID_HOST'] %> | |
| 31 | + port: <%= ENV['MONGOID_PORT'] %> | |
| 32 | + username: <%= ENV['MONGOID_USERNAME'] %> | |
| 33 | + password: <%= ENV['MONGOID_PASSWORD'] %> | |
| 34 | + database: <%= ENV['MONGOID_DATABASE'] %> | |
| 35 | 35 | \ No newline at end of file | ... | ... |