canvas-lms/docker-compose/config/database.yml

21 lines
436 B
YAML

common: &common
adapter: postgresql
host: postgres
encoding: utf8
username: postgres
timeout: 5000
prepared_statements: false
development:
<<: *common
database: canvas
open: true
test:
<<: *common
database: canvas_test_rails3_<%= ENV['TEST_ENV_NUMBER'] %>
shard1: canvas_test_rails3_shard1
shard2: canvas_test_rails3_shard2
test_shard_1: canvas_test_rails3_shard1
test_shard_2: canvas_test_rails3_shard2