mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-07 03:00:27 +00:00
update docker run readme
This commit is contained in:
parent
64c2b738ee
commit
532314e6e8
1 changed files with 49 additions and 1 deletions
50
README.md
50
README.md
|
|
@ -1,3 +1,51 @@
|
|||
English | [**中文**](./README_ZH.md)
|
||||
|
||||
# ModelScope
|
||||
# MemoryScope
|
||||
|
||||
|
||||
# Installation
|
||||
|
||||
## (1) Docker-Compose (Recommanded)
|
||||
1. Clone the project and edit the config.
|
||||
|
||||
```
|
||||
git clone https://...
|
||||
nano config/demo_config_cn.yaml
|
||||
```
|
||||
|
||||
2. Edit `docker-compose.yml` to change environment variable.
|
||||
|
||||
```
|
||||
DASHSCOPE_API_KEY: "sk-0000000000"
|
||||
```
|
||||
|
||||
3. Run `docker-compose up` to build and launch the memory-scope cli interface.
|
||||
|
||||
|
||||
## (2) Docker
|
||||
|
||||
1. Clone the project and edit the config.
|
||||
|
||||
```
|
||||
git clone https://...
|
||||
nano config/demo_config_cn.yaml
|
||||
```
|
||||
|
||||
2. Build the `Dockerfile` with command:
|
||||
```
|
||||
sudo docker build --network=host -t memoryscope .
|
||||
```
|
||||
|
||||
3. Run `ElasticSearch` Container with command:
|
||||
```
|
||||
docker run -p 9200:9200 \
|
||||
-e "discovery.type=single-node" \
|
||||
-e "xpack.security.enabled=false" \
|
||||
-e "xpack.license.self_generated.type=trial" \
|
||||
docker.elastic.co/elasticsearch/elasticsearch:8.13.2
|
||||
```
|
||||
|
||||
4. Launch the built image with command:
|
||||
```
|
||||
sudo docker run -it --rm --net=host memoryscope
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue