summaryrefslogtreecommitdiff
path: root/config/config.exs
blob: 61bf72fb6eb108fb169f40d40759d2b49dc9cefb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import Config

config :chessh, Chessh.Repo,
  database: "chessh",
  username: "postgres",
  password: "postgres",
  hostname: "localhost"

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"