aboutsummaryrefslogtreecommitdiff
path: root/config/config.exs
blob: 2136a60941db8cb5f3357b7e32ae452dffe72aa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Config

config :chessh,
  ecto_repos: [Chessh.Repo],
  key_dir: Path.join(Path.dirname(__DIR__), "priv/keys"),
  max_password_attempts: 3,
  port: 42_069,
  max_sessions: 255

config :hammer,
  backend: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}

import_config "#{config_env()}.exs"