chessh/config/config.exs
2022-12-19 20:45:01 -07:00

16 lines
402 B
Elixir

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,
# TODO - benchmark
max_sessions: 128
import_config "#{config_env()}.exs"