aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.exs8
-rw-r--r--config/dev.exs1
-rw-r--r--config/prod.exs1
3 files changed, 10 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
new file mode 100644
index 0000000..06e657b
--- /dev/null
+++ b/config/config.exs
@@ -0,0 +1,8 @@
+import Config
+
+config :tronglessh,
+ key_dir: Path.join(Path.dirname(__DIR__), "priv/keys"),
+ ssh_port: 42069,
+ max_sessions: 255
+
+import_config "#{config_env()}.exs" \ No newline at end of file
diff --git a/config/dev.exs b/config/dev.exs
new file mode 100644
index 0000000..1c00233
--- /dev/null
+++ b/config/dev.exs
@@ -0,0 +1 @@
+import Config \ No newline at end of file
diff --git a/config/prod.exs b/config/prod.exs
new file mode 100644
index 0000000..1c00233
--- /dev/null
+++ b/config/prod.exs
@@ -0,0 +1 @@
+import Config \ No newline at end of file