最初版本
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# 在线客服聊天框(production)
|
||||
|
||||
只打包图上那个聊天框,前端用官方 Chatwoot **production 预编译**资源(`assets:precompile` / Vite),不跑 development。
|
||||
|
||||
## Pull
|
||||
|
||||
```bash
|
||||
docker pull ladioussuapp/guest-chat:latest
|
||||
```
|
||||
|
||||
Hub:https://hub.docker.com/r/ladioussuapp/guest-chat
|
||||
|
||||
## 启动(复用本机旧 Chatwoot 数据)
|
||||
|
||||
```powershell
|
||||
cd F:\AI\guest-cs-stack
|
||||
docker compose -f docker-compose.chat.yaml -f docker-compose.chat-data.yaml up -d
|
||||
```
|
||||
|
||||
## 远端 test.pubuli.com(对外 7788)
|
||||
|
||||
详见 [DEPLOY-TEST.md](./DEPLOY-TEST.md)
|
||||
|
||||
```bash
|
||||
docker pull ladioussuapp/guest-chat:latest
|
||||
docker compose -f docker-compose.chat.yaml -f docker-compose.chat.test.yaml up -d --force-recreate
|
||||
```
|
||||
|
||||
入口:http://test.pubuli.com:7788/guest-customer-service
|
||||
|
||||
**注意:** test 服务器目前 7788 仍是旧 Werkzeug,必须先 SSH 上去停旧进程再部署 Docker。
|
||||
|
||||
## 入口
|
||||
|
||||
- http://127.0.0.1:7788/guest-customer-service
|
||||
|
||||
对外只开 `7788`;Chatwoot 后台 `3000` 仅容器内给 widget API,不映射到宿主机。
|
||||
Reference in New Issue
Block a user