migrate to postgres

This commit is contained in:
2022-11-04 17:42:46 +08:00
parent b808d4be99
commit a6d82c1f47
7 changed files with 168 additions and 163 deletions

View File

@@ -1,7 +1,7 @@
{
"api": {
"secret": "CHANGE_YOUR_SECRET_HERE",
"database_name": "music.sqlite3",
"database_name": "postgres://postgres:woshimima@localhost/postgres?sslmode=disable",
"single_thread": true,
"addr": ":8080",
"ffmpeg_threads": 1,