Option to store data on disk, dockerfile

This commit is contained in:
2020-05-30 14:52:26 -04:00
parent 8d7bc2d133
commit a25b5072a4
5 changed files with 89 additions and 5 deletions

View File

@@ -89,6 +89,13 @@ func main() {
EnvVars: []string{"IMHASHDB_QUERY_CONCURRENCY"},
Destination: &Conf.QueryConcurrency,
},
&cli.StringFlag{
Name: "store",
Value: "",
Usage: "If set, store downloaded images there",
EnvVars: []string{"IMHASHDB_STORE"},
Destination: &Conf.Store,
},
},
},
{