database.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. development:
  12. <<: *default
  13. database: storage/development.sqlite3
  14. # Warning: The database defined as "test" will be erased and
  15. # re-generated from your development database when you run "rake".
  16. # Do not set this db to the same as development or production.
  17. test:
  18. <<: *default
  19. database: storage/test.sqlite3
  20. # Store production database in the storage/ directory, which by default
  21. # is mounted as a persistent Docker volume in config/deploy.yml.
  22. production:
  23. primary:
  24. <<: *default
  25. database: storage/production.sqlite3
  26. cache:
  27. <<: *default
  28. database: storage/production_cache.sqlite3
  29. migrations_paths: db/cache_migrate
  30. queue:
  31. <<: *default
  32. database: storage/production_queue.sqlite3
  33. migrations_paths: db/queue_migrate
  34. cable:
  35. <<: *default
  36. database: storage/production_cable.sqlite3
  37. migrations_paths: db/cable_migrate