Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
harry committed Jul 19, 2024
1 parent 155cf47 commit 26d5c7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PASSWORD=admin
POSTGRES_USER=username
POSTGRES_PASSWORD=password
POSTGRES_DB=audio_notes
POSTGRES_HOST=pg
POSTGRES_HOST=127.0.0.1

# ollama配置
OLLAMA_BASE_URL=http://localhost:11434/v1
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ ollama pull qwen2:7b

有两种部署方式,一种是使用 Docker 部署,另一种是本地部署

#### Docker 部署(推荐)
#### Docker部署(推荐)🐳

```bash
### Docker 部署
```bash
curl https://github.com/harry0703/AudioNotes/raw/main/docker-compose.yml -o docker-compose.yml
curl -fsSL https://github.com/harry0703/AudioNotes/raw/main/docker-compose.yml -o docker-compose.yml
docker-compose up
```
docker 启动后,访问 http://localhost:15433/

#### 本地部署
#### 本地部署 📦

需要有可访问的 postgresql 数据库

Expand All @@ -64,3 +63,4 @@ pip install -r requirements.txt
```bash
chainlit run main.py
```
服务启动后,访问 http://localhost:8000/

0 comments on commit 26d5c7c

Please sign in to comment.