Bring back database.yml

It only contains the development database configuration by default since
we're relying on docker-compose for starting our database now.
This commit is contained in:
Matt Rogers 2018-05-14 18:49:19 -05:00
parent faceaac874
commit 108373f938
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
2 changed files with 22 additions and 1 deletions

1
.gitignore vendored
View file

@ -19,7 +19,6 @@
/log/*.log
/public/assets/
/tmp
config/database.yml
config/deploy.rb
config/site.yml
db/data.yml

22
config/database.yml Normal file
View file

@ -0,0 +1,22 @@
development:
adapter: mysql2
database: tracks
# set this if you are storing utf8 in your mysql database to handle strings
# like "Réné". Not needed for sqlite. For PostgreSQL use encoding: unicode
# encoding: utf8
host: db
username: root
password:
# Production config is disabled by default
#
# production:
# adapter: mysql2
# database: tracks
# # set this if you are storing utf8 in your mysql database to handle strings
# # like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
# # encoding: utf8
# host: localhost
# username: root
# password: