mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-17 08:10:14 +08:00
Update default database directory to working directory
This commit is contained in:
parent
7780293ddb
commit
089579d835
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
/*.mdb
|
/*.mdb
|
||||||
/query-history.txt
|
/query-history.txt
|
||||||
|
/data.ms
|
||||||
|
@ -3,7 +3,7 @@ use structopt::StructOpt;
|
|||||||
#[derive(Debug, Clone, StructOpt)]
|
#[derive(Debug, Clone, StructOpt)]
|
||||||
pub struct Opt {
|
pub struct Opt {
|
||||||
/// The destination where the database must be created.
|
/// The destination where the database must be created.
|
||||||
#[structopt(long, env = "MEILI_DB_PATH", default_value = "/tmp/meilisearch")]
|
#[structopt(long, env = "MEILI_DB_PATH", default_value = "./data.ms")]
|
||||||
pub db_path: String,
|
pub db_path: String,
|
||||||
|
|
||||||
/// The address on which the http server will listen.
|
/// The address on which the http server will listen.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user