make MySQL SSL mode configurable via env var (#2036)

This commit is contained in:
Hosmel Quintana
2025-12-10 15:22:38 -06:00
committed by GitHub
parent bed0e4bd9e
commit df9a4b255c
+2 -1
View File
@@ -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