chessh/config/config.exs

16 lines
402 B
Elixir
Raw Normal View History

2022-12-19 03:37:10 -05:00
import Config
config :chessh, ecto_repos: [Chessh.Repo]
2022-12-19 03:37:10 -05:00
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,
2022-12-19 22:45:01 -05:00
public_key_authenticator: Chessh.Auth.KeyAuthenticator,
# TODO - benchmark
max_sessions: 128
2022-12-19 03:37:10 -05:00
import_config "#{config_env()}.exs"