diff --git a/apps/tailchat/1.9.5/data.yml b/apps/tailchat/1.9.5/data.yml index bad40be4..a1d563e1 100755 --- a/apps/tailchat/1.9.5/data.yml +++ b/apps/tailchat/1.9.5/data.yml @@ -111,7 +111,7 @@ additionalProperties: labelZh: 秘钥 random: true required: true - rule: paramExtUrl + rule: paramComplexity type: text - default: http://localhost:11000 edit: true @@ -129,6 +129,31 @@ additionalProperties: required: false rule: paramExtUrl type: text + - default: 11002 + edit: true + envKey: PANEL_APP_PORT_ADMIN + labelEn: Admin Port + labelZh: 后台管理平台端口 + required: true + rule: paramPort + type: number + - default: "tailchat" + edit: true + envKey: ADMIN_USERNAME + labelEn: Admin Username + labelZh: 后台管理平台用户名 + required: true + rule: paramCommon + type: text + - default: admin-password + edit: true + envKey: ADMIN_PASSWORD + labelEn: Admin Password + labelZh: 后台管理平台密码 + random: true + required: true + rule: paramCommon + type: text - default: "" edit: true envKey: SMTP_URI diff --git a/apps/tailchat/1.9.5/docker-compose.yml b/apps/tailchat/1.9.5/docker-compose.yml index fe931397..1223664a 100644 --- a/apps/tailchat/1.9.5/docker-compose.yml +++ b/apps/tailchat/1.9.5/docker-compose.yml @@ -25,6 +25,33 @@ services: - ${PANEL_APP_PORT_HTTP}:11000 labels: createdBy: "Apps" + tailchat-admin: + container_name: ${CONTAINER_NAME}-admin + restart: unless-stopped + image: moonrailgun/tailchat:1.9.4 + networks: + - 1panel-network + environment: + - ADMIN_PORT=3000 + - ADMIN_USER=${ADMIN_USERNAME} + - ADMIN_PASS=${ADMIN_PASSWORD} + - LOGGER=true + - LOGLEVEL=info + - REDIS_URL=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT} + - TRANSPORTER=redis://:${REDIS_PASS}@${REDIS_HOST}:${REDIS_PORT} + - MONGO_URL=mongodb://${MONGO_USER}:${MONGO_PASS}@${MONGO_HOST}:${MONGO_PORT}/${MONGO_DB}?authSource=admin + - MINIO_URL=${MINIO_HOST}:${MINIO_PORT} + - MINIO_USER=${MINIO_USER} + - MINIO_PASS=${MINIO_PASS} + - SMTP_SENDER=${SMTP_SENDER} + - SMTP_URI=${SMTP_URI} + - SECRET=${SECRET} + - API_URL=${API_URL} + ports: + - ${PANEL_APP_PORT_ADMIN}:3000 + labels: + createdBy: "Apps" + command: pnpm start:admin networks: 1panel-network: external: true diff --git a/apps/tailchat/README.md b/apps/tailchat/README.md index 7f60a45d..4bca05ae 100644 --- a/apps/tailchat/README.md +++ b/apps/tailchat/README.md @@ -2,6 +2,10 @@ Tailchat 是一款功能强大的聊天工具,旨在提供出色的沟通和协作体验。 +## 安装演示视频 + +- [在 bilibili 中观看](https://www.bilibili.com/video/BV1hP411v7Gj) + ## 主要功能: ### 实时聊天 @@ -26,4 +30,12 @@ Tailchat 会自动保存聊天消息的历史记录,因此您可以随时查 ### 安全和隐私 -Tailchat 提供了强大的安全性和隐私保护功能,包括端到端加密,以确保您的聊天内容不会被未经授权的访问。 \ No newline at end of file +Tailchat 提供了强大的安全性和隐私保护功能,包括端到端加密,以确保您的聊天内容不会被未经授权的访问。 + +## 部署说明 + +### 关于后台 + +访问 `http://:11002/admin/` 进入后台服务 + +*11002是后台默认端口,你可以在安装时修改成自己想要的端口*