diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-10-06 17:04:37 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-10-06 17:04:37 +0300 |
commit | 6160b4fdc5f37e4ceaa6b3c5acc855f466049d61 (patch) | |
tree | b6e41f9cad22515a61cc50b0a82d98ee55e0c3e3 /config | |
parent | 81b13617c4d0ca68afb181d1105386f0c339864d (diff) |
Первая версия
Diffstat (limited to 'config')
-rw-r--r-- | config/dev.yaml | 9 | ||||
-rw-r--r-- | config/prod.yaml | 9 |
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 |