Skip to content

Commit

Permalink
docs: change README_CN.md README.md (OpenAtomFoundation#2406)
Browse files Browse the repository at this point in the history
* document:change README_CN.md README.md

* document:change README_CN.md README.md
  • Loading branch information
JackGod001 authored Feb 23, 2024
1 parent 4f1bd36 commit a77efcf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,26 @@ Users can directly download the latest binary version package from [releases](ht
```


* #### 3.4 Running with docker-compose
docker-compose.yaml
```yaml
pikadb:
image: pikadb/pika:lastest
container_name: pikadb
ports:
- "6379:9221"
volumes:
- ./data/pika:/pika/log
# Specify the configuration file path. If you need to specify a configuration file, specify it here.
# Note: pika.conf should be in the ./deploy/pika directory
#- ./deploy/pika:/pika/conf
- ./data/pika/db:/pika/db
- ./data/pika/dump:/pika/dump
- ./data/pika/dbsync:/pika/dbsync
privileged: true
restart: always
```


## Performance test

Expand Down
19 changes: 18 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,24 @@ Pika 力求在完全兼容 Redis 协议、 继承 Redis 便捷运维设计的前
--image redis -it --rm --restart=Never \
-- /usr/local/bin/redis-cli -h pika-sample -p 9221 info
```

* #### 3.4 使用 docker-compose
docker-compose.yaml
```yaml
pikadb:
image: pikadb/pika:lastest
container_name: pikadb
ports:
- "6379:9221"
volumes:
- ./data/pika:/pika/log
# 指定配置文件路径,如果有需要指定配置文件则在这里指定 注意: pika.conf 要在./deploy/pika目录中
#- ./deploy/pika:/pika/conf
- ./data/pika/db:/pika/db
- ./data/pika/dump:/pika/dump
- ./data/pika/dbsync:/pika/dbsync
privileged: true
restart: always
```
## Pika 未来工作规划

### 1、Pika 单机版
Expand Down

0 comments on commit a77efcf

Please sign in to comment.