diff options
Diffstat (limited to 'config/config.exs')
-rw-r--r-- | config/config.exs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/config/config.exs b/config/config.exs index 807824a..61bf72f 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,11 +1,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, - public_key_authenticator: Chessh.Auth.KeyAuthenticator, - password_authenticator: Chessh.Auth.PasswordAuthenticator + password_authenticator: Chessh.Auth.PasswordAuthenticator, + public_key_authenticator: Chessh.Auth.KeyAuthenticator import_config "#{config_env()}.exs" |