瀏覽代碼

More MongoLab config tweaks

master
Adrian Short 12 年之前
父節點
當前提交
6cc422a8ce
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. +1
    -6
      config/mongo.yml

+ 1
- 6
config/mongo.yml 查看文件

@@ -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'] %>

Loading…
取消
儲存