chessh/config/test.exs

17 lines
356 B
Elixir
Raw Normal View History

2022-12-19 03:37:10 -05:00
import Config
2022-12-29 19:21:20 -05:00
config :chessh, RateLimits,
2022-12-30 07:46:35 -05:00
jail_timeout_ms: 10_000,
2022-12-29 19:49:42 -05:00
jail_attempt_threshold: 3
2022-12-28 01:50:22 -05:00
2022-12-19 03:37:10 -05:00
config :chessh, Chessh.Repo,
2022-12-30 07:46:35 -05:00
database: "chesshtest",
2022-12-19 03:37:10 -05:00
username: "postgres",
password: "postgres",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
config :chessh,
2023-01-13 23:08:44 -05:00
port: 34_355,
2022-12-28 01:50:22 -05:00
key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")