Commit 6d43ea958b5eba3f1f8dc318e5a2a82c61820133
1 parent
fd026588
Exists in
master
and in
1 other branch
Don't encourage the use of ENV vars
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: <%= ENV['MONGOID_HOST'] %> | |
30 | - port: <%= ENV['MONGOID_PORT'] %> | |
31 | - username: <%= ENV['MONGOID_USERNAME'] %> | |
32 | - password: <%= ENV['MONGOID_PASSWORD'] %> | |
33 | - database: <%= ENV['MONGOID_DATABASE'] %> | |
34 | 29 | \ No newline at end of file |
30 | + host: localhost | |
31 | + port: 27018 | |
32 | + username: errbit | |
33 | + password: | |
34 | + database: errbit | |
35 | 35 | \ No newline at end of file | ... | ... |