summaryrefslogtreecommitdiff
path: root/config/test.exs
blob: 69b6c93622de33a8d3c75aeb44cd7b178a20a4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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")