This commit is contained in:
Graham McIntire 2026-01-25 15:53:28 -06:00
parent 984b1b38c7
commit 33c5b977b0
No known key found for this signature in database
2 changed files with 12 additions and 1 deletions

View file

@ -168,7 +168,7 @@ if config_env() == :prod do
secret: System.get_env("AWS_SECRET_ACCESS_KEY")
config :towerops, Towerops.Repo,
# ssl: true,
ssl: true,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
# For machines with several cores, consider starting multiple pools of `pool_size`

View file

@ -0,0 +1,11 @@
defmodule Towerops.Repo.Migrations.EnableSslinfo do
use Ecto.Migration
def up do
execute "CREATE EXTENSION IF NOT EXISTS sslinfo"
end
def down do
execute "DROP EXTENSION IF EXISTS sslinfo"
end
end