Basic service boilerplate for settings bundles

This commit is contained in:
Benedikt Kulmann
2020-04-16 10:07:45 +02:00
parent a8af03c338
commit 5b89729d1e
18 changed files with 1006 additions and 141 deletions
+7
View File
@@ -134,5 +134,12 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"SETTINGS_HTTP_ROOT"},
Destination: &cfg.HTTP.Root,
},
&cli.StringFlag{
Name: "settings-root-mount-path",
Value: "/",
Usage: "Mount path for the storage",
EnvVars: []string{"SETTINGS_ROOT_MOUNT_PATH"},
Destination: &cfg.Storage.RootMountPath,
},
}
}