diff options
| author | 2025-05-14 13:25:52 +0000 | |
|---|---|---|
| committer | 2025-05-14 13:25:52 +0000 | |
| commit | cfe6336b6e1d07b2cbb7432db87054128286e39b (patch) | |
| tree | f8352a5f1c75f87efe3c54b7353049c6cc959ef2 /internal/config | |
| parent | [feature] Configurable max profile fields (#4175) (diff) | |
| download | gotosocial-cfe6336b6e1d07b2cbb7432db87054128286e39b.tar.xz | |
[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 <phil@hagelb.org>
Co-committed-by: Phil Hagelberg <phil@hagelb.org>
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/defaults.go | 4 |
1 files changed, 2 insertions, 2 deletions
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: "", |
