|
@@ -1,20 +1,15 @@ |
|
|
defaults: &defaults |
|
|
defaults: &defaults |
|
|
|
|
|
host: 127.0.0.1 |
|
|
port: 27017 |
|
|
port: 27017 |
|
|
|
|
|
|
|
|
development: |
|
|
development: |
|
|
<<: *defaults |
|
|
<<: *defaults |
|
|
host: 127.0.0.1 |
|
|
|
|
|
database: apollo_development |
|
|
database: apollo_development |
|
|
|
|
|
|
|
|
test: |
|
|
test: |
|
|
<<: *defaults |
|
|
<<: *defaults |
|
|
host: 127.0.0.1 |
|
|
|
|
|
database: apollo_test |
|
|
database: apollo_test |
|
|
|
|
|
|
|
|
# set these environment variables on your prod server |
|
|
# set these environment variables on your prod server |
|
|
production: |
|
|
production: |
|
|
<<: *defaults |
|
|
|
|
|
database: apollo |
|
|
|
|
|
username: <%= ENV['MONGO_USERNAME'] %> |
|
|
|
|
|
password: <%= ENV['MONGO_PASSWORD'] %> |
|
|
|
|
|
uri: <%= ENV['MONGOLAB_URI'] %> |
|
|
uri: <%= ENV['MONGOLAB_URI'] %> |