gauge/config/database.yml

31 lines
762 B
YAML
Raw Normal View History

2015-10-06 15:21:46 +03:00
# SQLite version 3.x
# gem install sqlite3
#
# Ensure the SQLite 3 gem is defined in your Gemfile
# gem 'sqlite3'
#
default: &default
adapter: sqlite3
pool: 5
timeout: 5000
development:
<<: *default
database: db/development.sqlite3
# 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: db/test.sqlite3
production:
2024-09-13 19:13:40 +03:00
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
host: <%= ENV.fetch("GAUGE_DATABASE_HOST") { "host.containers.internal" } %>
database: gauge
username: gauge
password: <%= ENV["GAUGE_DATABASE_PASSWORD"] %>