From cfe6336b6e1d07b2cbb7432db87054128286e39b Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Wed, 14 May 2025 13:25:52 +0000 Subject: [chore] Change default database in example config to sqlite, update docs. (#4174) As discussed in Matrix chat. * Change DB in example config to sqlite. * Clarify config settings which only apply to postgres. * Update getting started docs; no need to change example config any more. * In "single board computers" mention SD card corruption risk. ## Checklist Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]` If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want). - [X] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md). - [X] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat. - [X] I/we have not leveraged AI to create the proposed changes. - [X] I/we have performed a self-review of added code. - [X] I/we have made any necessary changes to documentation. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4174 Co-authored-by: Phil Hagelberg Co-committed-by: Phil Hagelberg --- internal/config/defaults.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/config/defaults.go') diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 81242996d..8ed6ed0ea 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -41,8 +41,8 @@ var Defaults = Configuration{ Port: 8080, TrustedProxies: []string{"127.0.0.1/32", "::1"}, // localhost - DbType: "postgres", - DbAddress: "", + DbType: "sqlite", + DbAddress: "db.sqlite", DbPort: 5432, DbUser: "", DbPassword: "", -- cgit v1.2.3