feat: 优化 MeterSphere 安装脚本

This commit is contained in:
wanghe-fit2cloud 2024-05-29 14:32:25 +08:00
parent 33d4ce8902
commit c222037fbe
13 changed files with 34 additions and 26 deletions

View File

@ -7,4 +7,10 @@ additionalProperties:
required: true required: true
rule: paramPort rule: paramPort
type: number type: number
- default: 15
envKey: JAVA_MAX_HEAP_RATIO
labelEn: Java Max Heap Ratio
labelZh: Java 最大堆内存比例
required: true
rule: paramPort
type: number

View File

@ -1,22 +1,21 @@
version: '3'
services: services:
metersphere: metersphere:
image: metersphere/metersphere-ce-allinone:v3.0.0-beta image: metersphere/metersphere-ce-allinone:v3.0.0-beta
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
privileged: true
restart: always restart: always
labels:
createdBy: "Apps"
environment:
JAVA_MAX_HEAP_RATIO: 15
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8081 - ${PANEL_APP_PORT_HTTP}:8081
volumes:
- ./mount/logs:/opt/metersphere/logs
- ./mount/data:/opt/metersphere/data
- ./mount/conf:/opt/metersphere/conf
networks: networks:
- 1panel-network - 1panel-network
privileged: true
environment:
JAVA_MAX_HEAP_RATIO: ${JAVA_MAX_HEAP_RATIO}
volumes:
- ./data/logs:/opt/metersphere/logs
- ./data/data:/opt/metersphere/data
- ./data/conf:/opt/metersphere/conf
labels:
createdBy: "Apps"
networks: networks:
1panel-network: 1panel-network:
external: true external: true

View File

@ -1,4 +1,3 @@
#!/bin/bash #!/bin/bash
chmod 777 data/logs
chmod 777 mount/logs

View File

@ -1,10 +1,15 @@
# 默认账户密码
```
usernameadmin
passwordmetersphere
```
# MeterSphere # MeterSphere
MeterSphere 是新一代的测试管理和接口测试工具,让测试工作更简单、更高效,不再成为持续交付的瓶颈。 **MeterSphere** 是新一代的测试管理和接口测试工具,让测试工作更简单、更高效,不再成为持续交付的瓶颈。
## 主要功能: ## 主要功能:
- 测试管理: 从测试用例管理,到测试计划执行、缺陷管理、测试报告生成,具有远超禅道和 TestLink 的使用体验; - **测试管理**: 从测试用例管理,到测试计划执行、缺陷管理、测试报告生成,具有远超禅道和 TestLink 的使用体验;
- 接口测试: 集 Postman 的易用与 JMeter 的灵活于一体,接口定义、接口调试、接口 Mock、场景自动化、接口报告你想要的都有。 - **接口测试**: 集 Postman 的易用与 JMeter 的灵活于一体,接口定义、接口调试、接口 Mock、场景自动化、接口报告你想要的都有。

View File

@ -1,20 +1,19 @@
name: MeterSphere name: MeterSphere
tags: tags:
- 实用工具 - DevOps
title: MeterSphere 新一代的测试管理和接口测试工具 title: 新一代的测试管理和接口测试工具
type: 实用工具 description: 新一代的测试管理和接口测试工具
description: MeterSphere 新一代的测试管理和接口测试工具
additionalProperties: additionalProperties:
key: metersphere key: metersphere
name: MeterSphere name: MeterSphere
tags: tags:
- Tool - DevOps
shortDescZh: 新一代的测试管理和接口测试工具 shortDescZh: 新一代的测试管理和接口测试工具
shortDescEn: Open-source Continuous Testing Platform shortDescEn: The next-gen test management and interface testing tools
type: tool type: tool
crossVersionUpdate: true crossVersionUpdate: false
limit: 1 limit: 1
recommend: 9 recommend: 11
website: https://www.metersphere.io website: https://www.metersphere.io
github: https://github.com/metersphere/metersphere github: https://github.com/metersphere/metersphere
document: https://metersphere.io/docs document: https://metersphere.io/docs

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB