Skip to content

Commit

Permalink
doc: 添加docker compose 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Aug 26, 2024
1 parent 9604775 commit 4986702
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions adapter/local/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ docker build -t chatgpt-telegram-bot:latest .
```bash
docker run -v $(pwd)/config.json:/app/config.json $(pwd)/config.toml:/app/config.toml -p 8787:8787 chatgpt-telegram-bot:latest --name chatgpt-telegram-bot
```


## Run with docker-compose

Go to the root directory of the project

### 1. Build image

```bash
docker-compose up # edit the docker-compose.yml to change the config file path
```

0 comments on commit 4986702

Please sign in to comment.