Configure SSL for database

This commit is contained in:
Uku Taht 2020-05-27 16:03:30 +03:00
parent ecd30e2892
commit 3b3d4d41b0

View File

@ -82,7 +82,7 @@ config :plausible,
"DATABASE_URL",
"postgres://postgres:postgres@127.0.0.1:5432/plausible_test?currentSchema=default"
),
ssl: false
ssl: String.to_existing_atom(System.get_env("DATABASE_TLS_ENABLED", "false"))
config :plausible, :google,
client_id: System.get_env("GOOGLE_CLIENT_ID"),