mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-12 00:17:35 +00:00
Added support for sqlite as database backend
This commit is contained in:
@@ -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"),
|
||||
|
Reference in New Issue
Block a user