Skip to content

Commit df9a4b2

Browse files
authored
make MySQL SSL mode configurable via env var (#2036)
1 parent bed0e4b commit df9a4b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/database.mysql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ default: &default
55
username: <%= ENV.fetch("MYSQL_USER", "root") %>
66
password: <%= ENV["MYSQL_PASSWORD"] %>
77
pool: 50
8+
ssl_mode: <%= ENV["MYSQL_SSL_MODE"] %>
89
timeout: 5000
910

1011
development:
@@ -40,4 +41,4 @@ production:
4041
cache:
4142
<<: *default
4243
database: fizzy_production_cache
43-
migrations_paths: db/cache_migrate
44+
migrations_paths: db/cache_migrate

0 commit comments

Comments
 (0)