more missing configs

8027fc5 · gmorell · 2022-08-05 22:27

6 files +8 -1

Files changed

modified apps/room_sanctum/config/config.exs
+1 −1
@@ -8,7 +8,7 @@
8 8 import Config
9 9
10 10 config :room_sanctum,
11 − ecto_repos: [RoomSanctum.Repo]
11 + ecto_repos: [RoomSanctum.Repo]
12 12
13 13 # Configures the endpoint
14 14 config :room_sanctum,
modified config/runtime.exs
+7 −0
@@ -79,6 +79,13 @@ if config_env() == :prod do
79 79 socket_options: maybe_ipv6,
80 80 types: RoomSanctum.PostgresTypes
81 81
82 + config :room_hermes, RoomHermes.Repo,
83 + # ssl: true,
84 + url: database_url,
85 + pool_size: String.to_integer(System.get_env("POOL_SIZE") || "10"),
86 + socket_options: maybe_ipv6,
87 + types: RoomHermes.PostgresTypes
88 +
82 89 # The secret key base is used to sign/encrypt cookies and other secrets.
83 90 # A default value is used in config/dev.exs and config/test.exs but you
84 91 # want to use a different value for prod and you most likely don't want

Parents: c9dae76