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

config :chessh, ecto_repos: [Chessh.Repo]

config :esshd,
  enabled: true,
  priv_dir: Path.join(Path.dirname(__DIR__), "priv/keys"),
  handler: {Chessh.Shell, :on_shell, 4},
  port: 42069,
  password_authenticator: Chessh.Auth.PasswordAuthenticator,
  public_key_authenticator: Chessh.Auth.KeyAuthenticator

import_config "#{config_env()}.exs"