aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-08 03:43:08 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-10-08 03:50:53 +0300
commite849e705c30cceec3cf7336a21bed96c8a911e90 (patch)
tree93f559bcd4cf3e53193930d112e564a2b7462ac8 /config
parent3ee654f6fb3cdf119630bfba8066c96ec26428c3 (diff)
Добавил рейтинг
Добавил страницу топа Добавил rss/xml/json feed
Diffstat (limited to 'config')
-rw-r--r--config/dev.yaml8
-rw-r--r--config/prod.yaml10
2 files changed, 15 insertions, 3 deletions
diff --git a/config/dev.yaml b/config/dev.yaml
index 95acdeb..9d399e1 100644
--- a/config/dev.yaml
+++ b/config/dev.yaml
@@ -6,4 +6,10 @@ db:
listen: :8000
admins:
- admin: password \ No newline at end of file
+ admin: password
+
+host: https://sh.org.ru
+
+keys:
+ - 12345678901234567890123456789012
+ - 12345678901234567890123456789012 \ No newline at end of file
diff --git a/config/prod.yaml b/config/prod.yaml
index 9f8aa71..cd178cc 100644
--- a/config/prod.yaml
+++ b/config/prod.yaml
@@ -1,9 +1,15 @@
debug: true
db:
- dsn: "postgres://postgres:@localhost:5432/test?sslmode=disable"
+ dsn: "postgres://shorg:shorg@db:5432/test?sslmode=disable"
listen: :8000
admins:
- admin: password \ No newline at end of file
+ admin: password
+
+host: https://sh.org.ru
+
+keys:
+ - 12345678901234567890123456789012
+ - 12345678901234567890123456789012 \ No newline at end of file