mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 15:56:16 -06:00
Update DB configuration to mention new sqlite options
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
cec939f2c2
commit
3651516467
2 changed files with 5 additions and 5 deletions
|
|
@ -27,13 +27,13 @@ func databaseFlags(flagNames, envNames config.Flags, defaults config.Defaults) [
|
|||
return []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: flagNames.DbType,
|
||||
Usage: "Database type: eg., postgres",
|
||||
Usage: "Database type: e.g. postgres, sqlite",
|
||||
Value: defaults.DbType,
|
||||
EnvVars: []string{envNames.DbType},
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: flagNames.DbAddress,
|
||||
Usage: "Database ipv4 address or hostname",
|
||||
Usage: "Database address: e.g. ipv4, hostname, file",
|
||||
Value: defaults.DbAddress,
|
||||
EnvVars: []string{envNames.DbAddress},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -80,12 +80,12 @@ trustedProxies:
|
|||
db:
|
||||
|
||||
# String. Database type.
|
||||
# Options: ["postgres"]
|
||||
# Options: ["postgres","sqlite"]
|
||||
# Default: "postgres"
|
||||
type: "postgres"
|
||||
|
||||
# String. Database address. Can be either an ipv4 address or a hostname.
|
||||
# Examples: ["localhost","my.db.host","127.0.0.1","192.111.39.110"]
|
||||
# String. Database address. e.g. ipv4, hostname, file
|
||||
# Examples: ["localhost","my.db.host","127.0.0.1","192.111.39.110","./sqlite.db"]
|
||||
# Default: "localhost"
|
||||
address: "127.0.0.1"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue