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.
docuseal/config/database.yml

38 lines
764 B

default: &default
adapter: postgresql
encoding: unicode
host: <%= ENV['DB_HOST'] %>
port: <%= ENV['DB_PORT'] %>
pool: <%= ENV['DB_POOL'] || 25 %>
username: <%= ENV['DB_USERNAME'] %>
password: <%= ENV['DB_PASSWORD'] %>
database: <%= ENV['DB_NAME'] %>
development:
<<: *default
database: docuseal_development
pool: 5
username: postgres
password: postgres
host: localhost
test:
<<: *default
database: docuseal_test
pool: 5
username: postgres
password: postgres
host: localhost
production:
<<: *default
sslmode: <%= ENV['DB_SSLMODE'] %>
sslrootcert: <%= ENV['DB_SSLCERT'] %>
staging:
<<: *default
sslmode: <%= ENV['DB_SSLMODE'] %>
sslrootcert: <%= ENV['DB_SSLCERT'] %>
variables:
statement_timeout: 120000