From 51616d693179e438f0f43f6bae27f9a5e2a41983 Mon Sep 17 00:00:00 2001 From: wanghe Date: Wed, 24 Apr 2024 15:29:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20Microsoft=20SQL=20?= =?UTF-8?q?Server=20(#1303)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mssql/2022-latest/data.yml | 18 ++++++++++++++++++ apps/mssql/2022-latest/data/.gitkeep | 0 apps/mssql/2022-latest/docker-compose.yml | 19 +++++++++++++++++++ apps/mssql/2022-latest/scripts/init.sh | 3 +++ apps/mssql/README.md | 12 ++++++++++++ apps/mssql/data.yml | 19 +++++++++++++++++++ apps/mssql/logo.png | Bin 0 -> 8269 bytes 7 files changed, 71 insertions(+) create mode 100755 apps/mssql/2022-latest/data.yml create mode 100644 apps/mssql/2022-latest/data/.gitkeep create mode 100644 apps/mssql/2022-latest/docker-compose.yml create mode 100644 apps/mssql/2022-latest/scripts/init.sh create mode 100644 apps/mssql/README.md create mode 100755 apps/mssql/data.yml create mode 100644 apps/mssql/logo.png diff --git a/apps/mssql/2022-latest/data.yml b/apps/mssql/2022-latest/data.yml new file mode 100755 index 00000000..d8e65a5b --- /dev/null +++ b/apps/mssql/2022-latest/data.yml @@ -0,0 +1,18 @@ +additionalProperties: + formFields: + - default: 1433 + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "mssql" + edit: true + envKey: MSSQL_SA_PASSWORD + labelEn: SA PASSWORD + labelZh: SA 用户密码(至少包含8个字符,且需包含大写字母、小写字母、数字和特殊字符中的三种) + random: true + required: true + rule: paramCommon + type: text diff --git a/apps/mssql/2022-latest/data/.gitkeep b/apps/mssql/2022-latest/data/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/mssql/2022-latest/docker-compose.yml b/apps/mssql/2022-latest/docker-compose.yml new file mode 100644 index 00000000..5ab4794a --- /dev/null +++ b/apps/mssql/2022-latest/docker-compose.yml @@ -0,0 +1,19 @@ +services: + mssql: + container_name: ${CONTAINER_NAME} + image: mcr.microsoft.com/mssql/server:2022-latest + restart: unless-stopped + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:1433 + environment: + - ACCEPT_EULA=Y + - MSSQL_SA_PASSWORD=${MSSQL_SA_PASSWORD} + volumes: + - ./data:/var/opt/mssql/data + labels: + createdBy: "Apps" +networks: + 1panel-network: + external: true \ No newline at end of file diff --git a/apps/mssql/2022-latest/scripts/init.sh b/apps/mssql/2022-latest/scripts/init.sh new file mode 100644 index 00000000..4a11f81f --- /dev/null +++ b/apps/mssql/2022-latest/scripts/init.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +chown -R 10001:10001 data \ No newline at end of file diff --git a/apps/mssql/README.md b/apps/mssql/README.md new file mode 100644 index 00000000..890b3fc5 --- /dev/null +++ b/apps/mssql/README.md @@ -0,0 +1,12 @@ +# Microsoft SQL Server + +**Microsoft SQL Server** 是一种关系型数据库管理系统(RDBMS),由微软开发和维护。它提供了一系列功能,用于存储、管理和处理数据,支持广泛的应用场景,包括企业级数据管理、业务智能、数据分析和应用程序开发等。 + +## 主要功能: + +- **数据存储和管理**:可以存储大量的数据,并提供高效的管理功能,包括数据的增删改查操作、事务管理和数据完整性维护。 +- **安全性**:提供了多种安全功能,包括访问控制、加密、身份验证和审计,以保护数据免受未经授权的访问和恶意攻击。 +- **高可用性和容错**:支持多种高可用性解决方案,如故障转移集群、数据库镜像、始终可用组和备份/恢复功能,以确保数据的持久性和可靠性。 +- **性能优化**:包括多种性能优化功能,如索引、查询优化器、分区和内存优化表,以提高数据库的性能和响应速度。 +- **数据分析和报告**:提供了强大的数据分析和报告功能,包括多维数据分析(OLAP)、数据挖掘和报表服务,以支持用户对数据进行深入分析和可视化呈现。 +- **集成和扩展性**:可以与其他微软产品和第三方应用程序进行集成,并提供了丰富的开发工具和API,以满足不同业务需求和扩展性要求。 \ No newline at end of file diff --git a/apps/mssql/data.yml b/apps/mssql/data.yml new file mode 100755 index 00000000..5542782f --- /dev/null +++ b/apps/mssql/data.yml @@ -0,0 +1,19 @@ +name: Microsoft SQL Server +tags: + - 数据库 +title: SQL Server 在 Docker 资源中的官方微软存储库 +description: SQL Server 在 Docker 资源中的官方微软存储库 +additionalProperties: + key: mssql + name: Microsoft SQL Server + tags: + - Database + shortDescZh: SQL Server 在 Docker 资源中的官方微软存储库 + shortDescEn: Official Microsoft repository for SQL Server in Docker resources + type: runtime + crossVersionUpdate: false + limit: 0 + recommend: 0 + website: https://github.com/microsoft/mssql-docker + github: https://github.com/microsoft/mssql-docker + document: https://github.com/microsoft/mssql-docker diff --git a/apps/mssql/logo.png b/apps/mssql/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..d67a18657beb7d4e7ed4e7978509d46a21aa51b4 GIT binary patch literal 8269 zcmV-TAhO?yP)xZ z=k4t6|J~c>=I7tv-~G$Y*45VYxx2~9$@-+Jyu7{Lp`^33v-FCOsi~@-pP<8yj@5#Q zl$V*-ZE}o^jk9!letdk>Qd_rPWpQtBoL612L{8K%Hez64n>j+YBP@V9Kut_cnjR^G z9ws|EIcFj#EGjA>9v&AJ6%P#!2L=TlN%>d+03T6FL_t(|+U%NbbK1PK#;s?`k|kTV zaU4QPA>5pB?2hBX!}tGYXIC_B&pGpdd*jaJqH%CrX7pqC(ykV=FMa7tU;5IQzVxLp zed$YI`qG!a^rbI-=}Z4#Jo_z*KU(9J{*^Ek)@^vgGJh)tilR7(-Xo;V-x`lB=?)VR zHjJYO|@eCP|vrHD#0wnj(TAe=dJzAozAup2A`bL?bZ9AP7L0J6X16MveHX z&lLQn)mWQwLKw<$Aw>1`v}tQ_xwDpYAfe2*t^N%nJ~7rtLb>1xL`p;Ir|0Ly(YBiw z1U!bBwsqXxApq@93d!WUKr-ZDwtRm5)&ovL6eO@7#IHOm<%}91(FNVdVjtR z!?|x7)ihCod{J-OO)jcU1t8YS&x$DSLhr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