aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/dev.yaml9
-rw-r--r--config/prod.yaml9
2 files changed, 18 insertions, 0 deletions
diff --git a/config/dev.yaml b/config/dev.yaml
new file mode 100644
index 0000000..95acdeb
--- /dev/null
+++ b/config/dev.yaml
@@ -0,0 +1,9 @@
+debug: true
+
+db:
+ dsn: "postgres://shorg:shorg@localhost:5432/shorg?sslmode=disable"
+
+listen: :8000
+
+admins:
+ admin: password \ No newline at end of file
diff --git a/config/prod.yaml b/config/prod.yaml
new file mode 100644
index 0000000..9f8aa71
--- /dev/null
+++ b/config/prod.yaml
@@ -0,0 +1,9 @@
+debug: true
+
+db:
+ dsn: "postgres://postgres:@localhost:5432/test?sslmode=disable"
+
+listen: :8000
+
+admins:
+ admin: password \ No newline at end of file