fix(config): enable ipv6 for fly databases

Signed-off-by: Amogh Lele <amogh@dyte.io>
This commit is contained in:
Amogh Lele 2022-05-06 21:14:21 +05:30
parent 82e4d19e6c
commit bf50e4264d
No known key found for this signature in database
GPG Key ID: 56429BFA4A7B86B6

View File

@ -12,12 +12,12 @@ database_url =
"""
config :ketbin, Ketbin.Repo,
ssl: true,
verify: :verify_peer,
ssl: false,
# verify: :verify_peer,
socket_options: [:inet6],
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
cacertfile: "priv/cert.pem"
PGPASSWORD=b7gjdl5bwx8e5gf5 pg_dump -U doadmin -W -F p postgres -h db-katbin-do-user-3351914-0.b.db.ondigitalocean.com -p 25060 > katbin.sql
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10")
# cacertfile: "priv/cert.pem"
secret_key_base =
System.get_env("SECRET_KEY_BASE") ||
raise """