vereto-api/config/database.yml

32 lines
731 B
YAML
Raw Normal View History

2018-02-16 09:12:51 +00:00
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
2018-02-16 11:36:18 +00:00
adapter: mysql2
2018-02-16 09:12:51 +00:00
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
timeout: 5000
2018-02-16 11:36:18 +00:00
host: localhost
username: root
password: SuperSecret
socket: /var/run/mysqld/mysqld.sock
2018-02-16 09:12:51 +00:00
development:
<<: *default
2018-02-16 11:36:18 +00:00
database: vereto-api-dev
2018-02-16 09:12:51 +00:00
# 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:
<<: *default
database: vereto-api-test
2018-02-16 09:12:51 +00:00
production:
<<: *default
2018-02-16 11:36:18 +00:00
database: vereto-api-prod
2018-02-27 14:54:19 +00:00
password: <%= ENV['TEMP_SITE_DATABASE_PASSWORD'] %>