chessh/config/config.exs

20 lines
484 B
Elixir
Raw Normal View History

2022-12-19 03:37:10 -05:00
import Config
config :chessh, Chessh.Repo,
database: "chessh",
username: "postgres",
password: "postgres",
hostname: "localhost"
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,
public_key_authenticator: Chessh.Auth.KeyAuthenticator
2022-12-19 03:37:10 -05:00
import_config "#{config_env()}.exs"