1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

Include database configuration for the virtual machine

This commit is contained in:
David O' Rojo 2018-02-14 12:37:57 -06:00
parent 2f49bf7c73
commit aa135f1876

View File

@ -0,0 +1,28 @@
development: &development
adapter: postgresql
host: localhost
encoding: unicode
database: fabmanager_development
pool: 25
username: ubuntu
password: ubuntu
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
<<: *development
database: fabmanager_test
production: &production
adapter: postgresql
host: ENV['DATABASE_HOST']
encoding: unicode
database: fabmanager_production
pool: 25
username: ENV['DATABASE_USER']
password: ENV['DATABASE_PASS']
staging:
<<: *production
database: fabmanager_staging