Added support for sqlite as database backend
This commit is contained in:
parent
619201ec9b
commit
216c6d85b2
3 changed files with 20 additions and 4 deletions
|
@ -43,6 +43,8 @@ func getHeadscaleApp() (*headscale.Headscale, error) {
|
|||
PrivateKeyPath: absPath(viper.GetString("private_key_path")),
|
||||
DerpMap: derpMap,
|
||||
|
||||
DBtype: viper.GetString("db_type"),
|
||||
DBpath: viper.GetString("db_path"),
|
||||
DBhost: viper.GetString("db_host"),
|
||||
DBport: viper.GetInt("db_port"),
|
||||
DBname: viper.GetString("db_name"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue