feat:添加chatnio到列表

This commit is contained in:
okxlin 2024-05-21 22:48:00 +08:00
parent ffc7ce296d
commit 96b229bb05
6 changed files with 181 additions and 0 deletions

22
apps/chatnio/README.md Normal file
View File

@ -0,0 +1,22 @@
<div align="center">
![chatnio](https://github.com/Deeptrain-Community/chatnio/raw/main/app/public/logo.png)
# [Chat Nio](https://chatnio.net)
_🚀 **下一代 AI 一站式解决方案**_
_🚀 **Next Generation AI One-Stop Solution**_
[官网](https://chatnio.net) | [开放文档](https://docs.chatnio.net) | [SDKs](https://docs.chatnio.net/developers/sdk) | [QQ 群](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=1mv1Y8SyxnQVvQCoqhmIgVTbwQmkNmvQ&authKey=5KUA9nJPR29nQwjbsYNknN2Fj6cKePkRes%2B1QZy84Dr4GHYVzcvb0yklxiMMNVJN&noverify=0&group_code=749482576)
[English](https://github.com/Deeptrain-Community/chatnio/blob/master/README.md) | 简体中文
[![code-stats](https://stats.deeptrain.net/repo/Deeptrain-Community/chatnio)](https://stats.deeptrain.net)
</div>
# 使用说明
部署成功后, 管理员账号为 `root` , 密码默认为 `chatnio123456`

19
apps/chatnio/data.yml Normal file
View File

@ -0,0 +1,19 @@
name: Chat Nio
tags:
- AI / 大模型
title: 下一代 AI 一站式解决方案
description: 下一代 AI 一站式解决方案
additionalProperties:
key: chatnio
name: Chat Nio
tags:
- AI
shortDescZh: 下一代 AI 一站式解决方案
shortDescEn: Next Generation AI One-Stop Internationalization Solution
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://chatnio.com
github: https://github.com/Deeptrain-Community/chatnio
document: https://chatnio.com/guide

View File

@ -0,0 +1,14 @@
CONTAINER_NAME="chatnio"
PANEL_APP_PORT_HTTP="40249"
PANEL_DB_HOST="mysql"
PANEL_DB_HOST_NAME="mysql"
PANEL_DB_NAME="chatnio_37rnt4"
PANEL_DB_PORT="3306"
PANEL_DB_TYPE="mysql"
PANEL_DB_USER="chatnio_67Hwxm"
PANEL_DB_USER_PASSWORD="chatnio_JpWrKG"
PANEL_REDIS_ROOT_PASSWORD="redis_password"
REDIS_DB="5"
REDIS_HOST="redis"
REDIS_PORT="6379"
SERVE_STATIC="true"

View File

@ -0,0 +1,92 @@
additionalProperties:
formFields:
- default: 40249
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: mysql
envKey: PANEL_DB_TYPE
labelEn: Database Service
labelZh: 数据库服务
required: true
type: apps
values:
- label: MySQL
value: mysql
- label: LocalMySQL
value: localmysql
child:
default: ""
envKey: PANEL_DB_HOST
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
- default: chatnio
envKey: PANEL_DB_NAME
labelEn: Database
labelZh: 数据库名
random: true
required: true
rule: paramCommon
type: text
- default: chatnio
envKey: PANEL_DB_USER
labelEn: User
labelZh: 数据库用户
random: true
required: true
rule: paramCommon
type: text
- default: chatnio
envKey: PANEL_DB_USER_PASSWORD
labelEn: Password
labelZh: 数据库用户密码
random: true
required: true
rule: paramComplexity
type: password
- default: ""
edit: true
envKey: REDIS_HOST
key: redis
labelEn: Redis Service
labelZh: Redis服务
required: true
type: service
- default: "6379"
edit: true
envKey: REDIS_PORT
labelEn: Redis Service Port
labelZh: Redis服务端口
required: true
rule: paramPort
type: number
- default: ""
envKey: PANEL_REDIS_ROOT_PASSWORD
labelEn: Redis Password
labelZh: Redis 密码
required: true
type: password
- default: "5"
envKey: REDIS_DB
labelEn: Redis Database
labelZh: Redis 数据库
required: true
type: number
- default: "true"
edit: true
envKey: SERVE_STATIC
labelEn: Serve Static
labelZh: 是否启用静态文件服务
required: true
type: select
values:
- label: "true"
value: "true"
- label: "false"
value: "false"

View File

@ -0,0 +1,34 @@
version: '3'
services:
chatnio:
image: programzmh/chatnio:latest
container_name: ${CONTAINER_NAME}
restart: always
ports:
- "${PANEL_APP_PORT_HTTP}:8094"
ulimits:
nofile:
soft: 65535
hard: 65535
environment:
MYSQL_HOST: "${PANEL_DB_HOST}"
MYSQL_USER: "${PANEL_DB_USER}"
MYSQL_PASSWORD: "${PANEL_DB_USER_PASSWORD}"
MYSQL_DB: "${PANEL_DB_NAME}"
REDIS_HOST: "${REDIS_HOST}"
REDIS_PORT: "${REDIS_PORT}"
REDIS_PASSWORD: "${PANEL_REDIS_ROOT_PASSWORD}"
REDIS_DB: "${REDIS_DB}"
SERVE_STATIC: "${SERVE_STATIC}"
volumes:
- ./data/config:/config
- ./data/logs:/logs
- ./data/storage:/storage
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/chatnio/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB