mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
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:
parent
faceaac874
commit
108373f938
2 changed files with 22 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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
22
config/database.yml
Normal 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:
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue