🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
## 📋 部署要求
|
||||
|
||||
### 服务器配置
|
||||
- **IP地址**: 192.168.9.149
|
||||
- **IP地址**: 172.16.74.149
|
||||
- **用户**: atai
|
||||
- **端口**: 22
|
||||
- **部署路径**: /home/atai/kt-financial-system
|
||||
- **访问地址**: http://192.168.9.149:8080
|
||||
- **访问地址**: http://172.16.74.149:8080
|
||||
|
||||
### 依赖环境
|
||||
- Docker
|
||||
@@ -38,7 +38,7 @@ brew install hudochenkov/sshpass/sshpass
|
||||
|
||||
SSH登录服务器:
|
||||
```bash
|
||||
ssh atai@192.168.9.149
|
||||
ssh atai@172.16.74.149
|
||||
```
|
||||
|
||||
安装Docker:
|
||||
@@ -105,8 +105,8 @@ docker image prune -f
|
||||
|
||||
### 端口映射
|
||||
- **80** (容器内) → **8080** (宿主机)
|
||||
- 前端访问: http://192.168.9.149:8080
|
||||
- API访问: http://192.168.9.149:8080/api
|
||||
- 前端访问: http://172.16.74.149:8080
|
||||
- API访问: http://172.16.74.149:8080/api
|
||||
|
||||
### 环境变量
|
||||
在 `docker-compose.yml` 中配置:
|
||||
@@ -177,7 +177,7 @@ docker-compose logs -f --tail=100
|
||||
|
||||
或:
|
||||
```bash
|
||||
ssh atai@192.168.9.149
|
||||
ssh atai@172.16.74.149
|
||||
cd /home/atai/kt-financial-system
|
||||
git pull origin main
|
||||
docker-compose up -d --build
|
||||
|
||||
Reference in New Issue
Block a user