mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-09 14:45:55 +08:00
feat: 新增 MongoDB 6.x 版本
This commit is contained in:
parent
42ad525c3a
commit
93363cae8f
25
apps/mongodb/6.0.14/data.yml
Executable file
25
apps/mongodb/6.0.14/data.yml
Executable file
@ -0,0 +1,25 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: mongo
|
||||
envKey: PANEL_DB_ROOT_USER
|
||||
labelEn: Username
|
||||
labelZh: 用户名
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: mongo
|
||||
envKey: PANEL_DB_ROOT_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: 27017
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
20
apps/mongodb/6.0.14/docker-compose.yml
Normal file
20
apps/mongodb/6.0.14/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: '3'
|
||||
services:
|
||||
mongodb:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
image: mongo:6.0.14
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: ${PANEL_DB_ROOT_USER}
|
||||
MONGO_INITDB_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:27017
|
||||
volumes:
|
||||
- ./data:/data/db
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
@ -62,6 +62,14 @@
|
||||
"matchFileNames": ["apps/tomcat/10.*/*.yml"],
|
||||
"allowedVersions": "/^10.*/"
|
||||
},
|
||||
{
|
||||
"matchFileNames": ["apps/mongodb/6.*/*.yml"],
|
||||
"allowedVersions": "/^6.*/"
|
||||
},
|
||||
{
|
||||
"matchFileNames": ["apps/mongodb/7.*/*.yml"],
|
||||
"allowedVersions": "/^7.*/"
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["docker"],
|
||||
"matchPackageNames": ["ghcr.io/umami-software/umami"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user