|
@ -6,7 +6,7 @@ default: &default |
|
|
# For details on connection pooling, see Rails configuration guide |
|
|
# For details on connection pooling, see Rails configuration guide |
|
|
# https://guides.rubyonrails.org/configuring.html#database-pooling |
|
|
# https://guides.rubyonrails.org/configuring.html#database-pooling |
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> |
|
|
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> |
|
|
host: 127.0.0.1 |
|
|
|
|
|
|
|
|
host: <%= ENV.include?('container_hostname')? 'ct1.lxd':'localhost' %> |
|
|
|
|
|
|
|
|
development: |
|
|
development: |
|
|
<<: *default |
|
|
<<: *default |
|
|