feat: add support for unix sockets

This commit is contained in:
Ivan R. 2024-08-15 01:26:34 +05:00
parent b2372f4d34
commit 99ebbe7e84
Signed by: lumin
GPG key ID: E0937DC7CD6D3817

View file

@ -34,6 +34,7 @@ if config_env() == :prod do
# ssl: true,
url: database_url,
pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
socket_dir: System.get_env("DATABASE_SOCKET_DIR"),
socket_options: maybe_ipv6
# The secret key base is used to sign/encrypt cookies and other secrets.