feat: tailchat add admin platform into default services list (#587)

This commit is contained in:
moonrailgun 2023-12-07 07:23:48 +00:00 committed by GitHub
parent aa29eb541c
commit 56d2ff4f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 66 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -2,6 +2,10 @@
Tailchat 是一款功能强大的聊天工具,旨在提供出色的沟通和协作体验。
## 安装演示视频
- [在 bilibili 中观看](https://www.bilibili.com/video/BV1hP411v7Gj)
## 主要功能:
### 实时聊天
@ -26,4 +30,12 @@ Tailchat 会自动保存聊天消息的历史记录,因此您可以随时查
### 安全和隐私
Tailchat 提供了强大的安全性和隐私保护功能,包括端到端加密,以确保您的聊天内容不会被未经授权的访问。
Tailchat 提供了强大的安全性和隐私保护功能,包括端到端加密,以确保您的聊天内容不会被未经授权的访问。
## 部署说明
### 关于后台
访问 `http://<your-server-admin>:11002/admin/` 进入后台服务
*11002是后台默认端口你可以在安装时修改成自己想要的端口*