make MySQL SSL mode configurable via env var (#2036)
This commit is contained in:
@@ -5,6 +5,7 @@ default: &default
|
|||||||
username: <%= ENV.fetch("MYSQL_USER", "root") %>
|
username: <%= ENV.fetch("MYSQL_USER", "root") %>
|
||||||
password: <%= ENV["MYSQL_PASSWORD"] %>
|
password: <%= ENV["MYSQL_PASSWORD"] %>
|
||||||
pool: 50
|
pool: 50
|
||||||
|
ssl_mode: <%= ENV["MYSQL_SSL_MODE"] %>
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
|
|
||||||
development:
|
development:
|
||||||
@@ -40,4 +41,4 @@ production:
|
|||||||
cache:
|
cache:
|
||||||
<<: *default
|
<<: *default
|
||||||
database: fizzy_production_cache
|
database: fizzy_production_cache
|
||||||
migrations_paths: db/cache_migrate
|
migrations_paths: db/cache_migrate
|
||||||
|
|||||||
Reference in New Issue
Block a user