Pārlūkot izejas kodu

More MongoLab config tweaks

master
Adrian Short pirms 12 gadiem
vecāks
revīzija
6cc422a8ce
1 mainītis faili ar 1 papildinājumiem un 6 dzēšanām
  1. +1
    -6
      config/mongo.yml

+ 1
- 6
config/mongo.yml Parādīt failu

@@ -1,20 +1,15 @@
defaults: &defaults
host: 127.0.0.1
port: 27017

development:
<<: *defaults
host: 127.0.0.1
database: apollo_development

test:
<<: *defaults
host: 127.0.0.1
database: apollo_test

# set these environment variables on your prod server
production:
<<: *defaults
database: apollo
username: <%= ENV['MONGO_USERNAME'] %>
password: <%= ENV['MONGO_PASSWORD'] %>
uri: <%= ENV['MONGOLAB_URI'] %>

Notiek ielāde…
Atcelt
Saglabāt