diff --git a/apps/chatnio/README.md b/apps/chatnio/README.md new file mode 100644 index 00000000..ea6d9d02 --- /dev/null +++ b/apps/chatnio/README.md @@ -0,0 +1,22 @@ +
+ +![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) + +
+ +# 使用说明 + +部署成功后, 管理员账号为 `root` , 密码默认为 `chatnio123456` \ No newline at end of file diff --git a/apps/chatnio/data.yml b/apps/chatnio/data.yml new file mode 100644 index 00000000..49303c45 --- /dev/null +++ b/apps/chatnio/data.yml @@ -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 diff --git a/apps/chatnio/latest/.env.sample b/apps/chatnio/latest/.env.sample new file mode 100644 index 00000000..6b208be4 --- /dev/null +++ b/apps/chatnio/latest/.env.sample @@ -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" diff --git a/apps/chatnio/latest/data.yml b/apps/chatnio/latest/data.yml new file mode 100644 index 00000000..5915d045 --- /dev/null +++ b/apps/chatnio/latest/data.yml @@ -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" diff --git a/apps/chatnio/latest/docker-compose.yml b/apps/chatnio/latest/docker-compose.yml new file mode 100644 index 00000000..4fa63fce --- /dev/null +++ b/apps/chatnio/latest/docker-compose.yml @@ -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 \ No newline at end of file diff --git a/apps/chatnio/logo.png b/apps/chatnio/logo.png new file mode 100644 index 00000000..537125e2 Binary files /dev/null and b/apps/chatnio/logo.png differ