aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-10-01 20:41:48 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-10-01 20:41:48 -0600
commitffa3d553f693494c218a0244c946ba83dfbf7cd1 (patch)
tree092a824dad118c37960ab67da98cdbc445a35d2b /config
downloadtronglessh-ffa3d553f693494c218a0244c946ba83dfbf7cd1.tar.gz
tronglessh-ffa3d553f693494c218a0244c946ba83dfbf7cd1.zip
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