ToolJet/config/database.yml

23 lines
498 B
YAML
Raw Normal View History

2021-03-31 13:38:49 +00:00
default: &default
adapter: postgresql
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
development:
<<: *default
database: tooljet_development
username: postgres
password: <%= ENV.fetch("DB_PASSWORD", '') %>
host: <%= ENV.fetch("DB_HOST", 'localhost') %>
2021-03-31 13:38:49 +00:00
test:
<<: *default
database: tooljet_test
2021-03-31 13:38:49 +00:00
production:
<<: *default
host: <%= ENV['PG_HOST'] %>
database: <%= ENV['PG_DB'] %>
username: <%= ENV['PG_USER'] %>
password: <%= ENV['PG_PASS'] %>