chessh/config/test.exs
2022-12-29 18:04:38 -07:00

16 lines
339 B
Elixir

import Config
config :chessh, RateLimits,
jail_timeout_ms: 1000,
jail_attempt_threshold: 3
config :chessh, Chessh.Repo,
database: "chessh-test",
username: "postgres",
password: "postgres",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
config :chessh,
key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")