aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-12 02:52:22 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-12 02:53:52 +0300
commitd05ea66f4bbcf0cc5c8908f3435c68de1b070fa1 (patch)
tree7c7a769206646f2b81a0eda0680f0be5033a4197 /etc
Начальная версияv0.0.1
Diffstat (limited to 'etc')
-rw-r--r--etc/dev.yaml15
-rw-r--r--etc/prod.yaml15
2 files changed, 30 insertions, 0 deletions
diff --git a/etc/dev.yaml b/etc/dev.yaml
new file mode 100644
index 0000000..51772e7
--- /dev/null
+++ b/etc/dev.yaml
@@ -0,0 +1,15 @@
+debug: true
+
+db:
+ dsn: "postgres://app:app@localhost:5432/app?sslmode=disable"
+
+listen: :8000
+
+admins:
+ admin: password
+
+host: https://sh.org.ru
+
+keys:
+ - 12345678901234567890123456789012
+ - 12345678901234567890123456789012 \ No newline at end of file
diff --git a/etc/prod.yaml b/etc/prod.yaml
new file mode 100644
index 0000000..ac26a68
--- /dev/null
+++ b/etc/prod.yaml
@@ -0,0 +1,15 @@
+debug: true
+
+db:
+ dsn: "postgres://app:app@db:5432/app?sslmode=disable"
+
+listen: :8000
+
+admins:
+ admin: password
+
+host: https://sh.org.ru
+
+keys:
+ - 12345678901234567890123456789012
+ - 12345678901234567890123456789012 \ No newline at end of file