Fork of https://github.com/bigbluebutton/greenlight with Debian packaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 
greenlight/config/database.yml

26 lines
706 B

default: &default
pool: 5
timeout: 5000
development:
<<: *default
adapter: sqlite3
database: db/development.sqlite3
test:
<<: *default
adapter: sqlite3
database: db/test.sqlite3
# Use sqlite in production by default. Greenlight supports
production:
<<: *default
adapter: <%= ENV['DB_ADAPTER'] || 'sqlite3' %>
host: <%= ENV['DB_HOST'] %>
port: <%= ENV['DB_PORT' || '5432'] %>
database: <%= ENV['DB_NAME'] || 'db/production/production.sqlite3' %>
username: <%= ENV['DB_USERNAME'] %>
password: <%= ENV['DB_PASSWORD'] %>
pool: <%= ENV['DB_POOL_SIZE'] || '9' %>
connect_timeout: <%= ENV['DB_CONNECT_TIMEOUT'] || '5' %>
read_timeout: <%= ENV['DB_READ_TIMEOUT'] || '120' %>