View raw

1 # SQLite. Versions 3.8.0 and up are supported. 2 # gem install sqlite3 3 # 4 # Ensure the SQLite 3 gem is defined in your Gemfile 5 # gem "sqlite3" 6 # 7 default: &default 8 adapter: sqlite3 9 pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> 10 timeout: 5000 11 12 development: 13 <<: *default 14 database: storage/development.sqlite3 15 16 # Warning: The database defined as "test" will be erased and 17 # re-generated from your development database when you run "rake". 18 # Do not set this db to the same as development or production. 19 test: 20 <<: *default 21 database: storage/test.sqlite3 22 23 24 # Store production database in the storage/ directory, which by default 25 # is mounted as a persistent Docker volume in config/deploy.yml. 26 production: 27 primary: 28 <<: *default 29 database: storage/production.sqlite3 30 cache: 31 <<: *default 32 database: storage/production_cache.sqlite3 33 migrations_paths: db/cache_migrate 34 queue: 35 <<: *default 36 database: storage/production_queue.sqlite3 37 migrations_paths: db/queue_migrate 38 cable: 39 <<: *default 40 database: storage/production_cable.sqlite3 41 migrations_paths: db/cable_migrate 42