16 lines
402 B
Elixir
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"
|