Steve Roberts
d4a256fcca
Add support for an env var to override DB port
2020-05-26 11:04:42 +10:00
Pau Perez
33ca6a2096
Allow changing the connection pool size
...
This allows us to tune for UK. The hypothesis from @kristinalim is:
> From what I understand, it can result to Rails processes waiting for
each other to complete, while the DB server can take more simultaneous
connections.
2020-04-06 16:03:06 +02:00
Matt-Yorkley
b685e0d3a7
Add ENV var for db host
2019-07-02 20:34:16 +01:00
Matt-Yorkley
1dd3d86a2b
Add prefixes to ENV vars
2019-07-02 20:34:16 +01:00
Pau Perez
7ee41902f2
DRY and make database.yml more flexible
...
This enables us to fix
https://github.com/openfoodfoundation/ofn-install/issues/387 and brings the
needed flexibility so things like
https://github.com/openfoodfoundation/openfoodnetwork/pull/3887 or any CI don't
require a custom version. That's what ENV vars are for!
For instance, I no longer need to mess with my LXC setup to connect to the DB.
I just need to have 2 env vars.
2019-07-02 20:34:16 +01:00
François Turbelin
e893197c49
Use example files instead of extra Docker ones
2019-06-25 11:18:48 +02:00
Maikel Linke
4cbc449a51
Remove unused parallel_tests gem
...
Reverts db47c01784
2018-10-09 16:54:08 +11:00
Maikel Linke
de5124f90c
Remove Heroku references since nobody is using it
2018-05-01 10:20:21 +10:00
Rohan Mitchell
db47c01784
Initial config for parallel spec running
2015-06-03 14:29:38 +10:00
Will Marshall
8b7d2641f9
Starting to prettify with Laura
2014-04-22 15:46:14 +10:00
Rohan Mitchell
f7c431be3c
Rename database names and user name
2013-10-19 09:43:10 +11:00
alexs
82df7cddeb
Added staging environment.
2013-08-15 17:43:21 +10:00
David Cook
4e2549d347
Add host setting, required for authenticating local DBs
2013-06-20 11:49:36 +10:00
Andrew Spinks
4ca90e7a32
update database and gemfile
2012-03-27 11:00:47 +11:00
Andrew Spinks
b6ca20beee
new rails 3.1.4 app
2012-03-27 10:10:26 +11:00