diff --git a/apps/mongo-express/1.0.2-20/data.yml b/apps/mongo-express/1.0.2-20/data.yml new file mode 100755 index 00000000..1824804f --- /dev/null +++ b/apps/mongo-express/1.0.2-20/data.yml @@ -0,0 +1,51 @@ +additionalProperties: + formFields: + - default: 8081 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: MONGO_HOST + key: mongodb + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: service + - default: "" + edit: true + envKey: PANEL_DB_ROOT_USER + labelEn: Database UserName + labelZh: 数据库用户名 + required: true + rule: paramCommon + type: text + - default: "" + edit: true + envKey: PANEL_DB_ROOT_PASSWORD + labelEn: Database Password + labelZh: 数据库密码 + required: true + rule: paramCommon + type: password + - default: "mongo-express" + edit: true + envKey: BASICAUTH_USERNAME + labelEn: Management Username + labelZh: 管理平台用户名 + required: true + rule: paramCommon + type: text + - default: "mongo-express" + edit: true + envKey: BASICAUTH_PASSWORD + labelEn: Management Password + labelZh: 管理平台密码 + random: true + required: true + rule: paramCommon + type: text diff --git a/apps/mongo-express/1.0.2-20/docker-compose.yml b/apps/mongo-express/1.0.2-20/docker-compose.yml new file mode 100644 index 00000000..70ec72e7 --- /dev/null +++ b/apps/mongo-express/1.0.2-20/docker-compose.yml @@ -0,0 +1,19 @@ +services: + tailchat: + container_name: ${CONTAINER_NAME} + restart: unless-stopped + image: mongo-express:1.0.2-20 + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8081 + environment: + ME_CONFIG_BASICAUTH: true + ME_CONFIG_BASICAUTH_USERNAME: ${BASICAUTH_USERNAME} + ME_CONFIG_BASICAUTH_PASSWORD: ${BASICAUTH_PASSWORD} + ME_CONFIG_MONGODB_URL: mongodb://${PANEL_DB_ROOT_USER}:${PANEL_DB_ROOT_PASSWORD}@${MONGO_HOST}:27017 + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/mongo-express/README.md b/apps/mongo-express/README.md new file mode 100644 index 00000000..643c52d8 --- /dev/null +++ b/apps/mongo-express/README.md @@ -0,0 +1,21 @@ +# mongo-express + +**mongo-express** 是一款使用 Node.js、Express 和 Bootstrap 5 编写的基于 Web 的 MongoDB 管理界面。 + +## 主要功能: + +- 连接到多个数据库 +- 查看/添加/删除数据库 +- 查看/添加/重命名/删除集合 +- 查看/添加/更新/删除文档 +- 在集合视图中内嵌预览音频/视频/图像资源 +- 嵌套和/或大型对象可折叠,以便于概览 +- 异步按需加载大文档属性(默认>100KB)以保持集合视图快速 +- GridFS 支持 - 添加/获取/删除非常大的文件 +- 在文档中使用 BSON 数据类型 +- 移动/响应式 - 当您遇到困难时,Bootstrap 5 在小屏幕上的表现还算可以 +- 连接并验证各个数据库 +- 以管理员身份验证以查看所有数据库 +- 数据库黑名单/白名单 +- 自定义 CA/TLS/SSL 和 CA 验证禁用 +- 支持副本集 diff --git a/apps/mongo-express/data.yml b/apps/mongo-express/data.yml new file mode 100755 index 00000000..9d764c87 --- /dev/null +++ b/apps/mongo-express/data.yml @@ -0,0 +1,19 @@ +name: mongo-express +tags: + - 开发工具 +title: 基于 Web 的 MongoDB 管理界面 +description: 基于 Web 的 MongoDB 管理界面 +additionalProperties: + key: mongo-express + name: mongo-express + tags: + - DevTool + shortDescZh: 基于 Web 的 MongoDB 管理界面 + shortDescEn: Web-based MongoDB admin interface + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://github.com/mongo-express/mongo-express + github: https://github.com/mongo-express/mongo-express + document: https://github.com/mongo-express/mongo-express diff --git a/apps/mongo-express/logo.png b/apps/mongo-express/logo.png new file mode 100644 index 00000000..4bf89665 Binary files /dev/null and b/apps/mongo-express/logo.png differ