From 3599e510313560a15503830d0ae63fb3c7035c4a Mon Sep 17 00:00:00 2001 From: liuyuecai Date: Wed, 19 Jun 2024 13:41:10 +0800 Subject: [PATCH 1/4] modify readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 37de45f596..f6b66d4d68 100644 --- a/README.md +++ b/README.md @@ -252,14 +252,14 @@ Users can directly download the latest binary version package from [releases](ht * #### 3.1 Running with Docker + Modify the conf/pika.conf file, change log-path value to /data/log/, db-path value to /data/db/, dump-path value to /data/dump/, and db-sync-path value to /data/dbsync/, and then execute the following statement to start pika in docker: + ```bash docker run -d \ --restart=always \ -p 9221:9221 \ - -v :/pika/log \ - -v :/pika/db \ - -v :/pika/dump \ - -v :/pika/dbsync \ + -v "$(pwd)/conf":"/pika/conf" \ + -v "/tmp/pika-data":"/data" \ pikadb/pika:v3.3.6 redis-cli -p 9221 "info" From 07faaf9b6ed20b54e0257e2a87df0929ee2f9ff8 Mon Sep 17 00:00:00 2001 From: liuyuecai Date: Wed, 19 Jun 2024 14:02:52 +0800 Subject: [PATCH 2/4] modify readme --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f6b66d4d68..e0a9f6eda2 100644 --- a/README.md +++ b/README.md @@ -252,9 +252,16 @@ Users can directly download the latest binary version package from [releases](ht * #### 3.1 Running with Docker - Modify the conf/pika.conf file, change log-path value to /data/log/, db-path value to /data/db/, dump-path value to /data/dump/, and db-sync-path value to /data/dbsync/, and then execute the following statement to start pika in docker: - - ```bash + Modify the following configuration items of the conf file: + ``` +log-path : /data/log/ +db-path : /data/db/ +db-sync-path : /data/dbsync/ +dump-path : /data/dump/ + ``` + + And then execute the following statement to start pika in docker: + ```bash docker run -d \ --restart=always \ -p 9221:9221 \ From 159da61cfeabbc1212b26d42b4f5948fd51869c5 Mon Sep 17 00:00:00 2001 From: liuyuecai Date: Wed, 19 Jun 2024 14:04:07 +0800 Subject: [PATCH 3/4] modify readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0a9f6eda2..cf48be06c3 100644 --- a/README.md +++ b/README.md @@ -252,7 +252,7 @@ Users can directly download the latest binary version package from [releases](ht * #### 3.1 Running with Docker - Modify the following configuration items of the conf file: + Modify the following configuration items of conf/pika.conf file: ``` log-path : /data/log/ db-path : /data/db/ From 7a08861c7c46bab12bcd6de9d7f7e073688c2bf0 Mon Sep 17 00:00:00 2001 From: liuyuecai Date: Wed, 19 Jun 2024 14:04:54 +0800 Subject: [PATCH 4/4] modify readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e0a9f6eda2..69ba6329df 100644 --- a/README.md +++ b/README.md @@ -254,10 +254,10 @@ Users can directly download the latest binary version package from [releases](ht Modify the following configuration items of the conf file: ``` -log-path : /data/log/ -db-path : /data/db/ -db-sync-path : /data/dbsync/ -dump-path : /data/dump/ + log-path : /data/log/ + db-path : /data/db/ + db-sync-path : /data/dbsync/ + dump-path : /data/dump/ ``` And then execute the following statement to start pika in docker: