diff --git a/apps/sscms/7.3.0/.env.sample b/apps/sscms/7.3.0/.env.sample new file mode 100644 index 00000000..76bc0703 --- /dev/null +++ b/apps/sscms/7.3.0/.env.sample @@ -0,0 +1,11 @@ +CONTAINER_NAME="sscms" +PANEL_APP_PORT_HTTP="40221" +PANEL_DB_HOST="postgresql" +PANEL_DB_HOST_NAME="postgresql" +PANEL_DB_NAME="sscms_23w7b4" +PANEL_DB_PORT="5432" +PANEL_DB_TYPE="postgresql" +PANEL_DB_USER="sscms_PkXRtG" +PANEL_DB_USER_PASSWORD="sscms_k3StZP" +SSCMS_SECURITY_KEY="e2a3d303-ac9b-41ff-9154-930710af0845" +SSCMS_REDIS_CONNECTION_STRING="" \ No newline at end of file diff --git a/apps/sscms/7.3.0/data.yml b/apps/sscms/7.3.0/data.yml new file mode 100644 index 00000000..319579da --- /dev/null +++ b/apps/sscms/7.3.0/data.yml @@ -0,0 +1,64 @@ +additionalProperties: + formFields: + - child: + default: "" + envKey: PANEL_DB_HOST + required: true + type: service + default: mysql + envKey: PANEL_DB_TYPE + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: apps + values: + - label: MySQL + value: mysql + - label: PostgreSQL + value: postgresql + - default: sscms + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: sscms + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: sscms + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password + - default: 40221 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: 'e2a3d303-ac9b-41ff-9154-930710af0845' + edit: true + envKey: SSCMS_SECURITY_KEY + labelEn: Communication key (GUID string) + labelZh: 通信密钥 (GUID 字符串) + required: true + type: text + - default: '' + edit: true + envKey: SSCMS_REDIS_CONNECTION_STRING + labelEn: Redis Connection Information (redis:6379,password=123456) + labelZh: Redis 连接信息 (redis:6379,password=123456) + required: false + type: text diff --git a/apps/sscms/7.3.0/docker-compose.yml b/apps/sscms/7.3.0/docker-compose.yml new file mode 100644 index 00000000..0cc45e32 --- /dev/null +++ b/apps/sscms/7.3.0/docker-compose.yml @@ -0,0 +1,27 @@ +version: '3' +services: + sscms: + image: sscms/core:7.3.0 + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - ./data:/app/wwwroot + environment: + - SSCMS_SECURITY_KEY=${SSCMS_SECURITY_KEY} + - SSCMS_DATABASE_TYPE=${PANEL_DB_TYPE} + - SSCMS_DATABASE_HOST=${PANEL_DB_HOST} + - SSCMS_DATABASE_PORT=${PANEL_DB_PORT} + - SSCMS_DATABASE_NAME=${PANEL_DB_NAME} + - SSCMS_DATABASE_USER=${PANEL_DB_USER} + - SSCMS_DATABASE_PASSWORD=${PANEL_DB_USER_PASSWORD} + - SSCMS_REDIS_CONNECTION_STRING=${SSCMS_REDIS_CONNECTION_STRING} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/sscms/README.md b/apps/sscms/README.md index 9aa809fe..67cebf18 100644 --- a/apps/sscms/README.md +++ b/apps/sscms/README.md @@ -1,3 +1,8 @@ +# 使用说明 + +打开浏览器,访问地址 http:///ss-admin/install,进入 SSCMS 系统安装界面 + +*** # SSCMS @@ -30,70 +35,3 @@ SSCMS 基于 .NET Core,能够以最低的成本、最少的人力投入在最 [《SSCMS REST API》](https://sscms.com/docs/v7/api/) [《SSCMS 数据结构》](https://sscms.com/docs/v7/model/) - -## SSCMS 源码结构 - -```code -│ sscms.sln Visual Studio 项目文件 -│ -├─docker Docker 配置文件 -├─src/Datory 数据库基础类 -├─src/SSCMS 接口、基础类 -├─src/SSCMS.Cli 命令行工具 -├─src/SSCMS.Core CMS核心代码 -├─src/SSCMS.Web CMS App -└─tests 测试 -``` - -## 发布跨平台版本 - -## 在 Docker 中运行 - -拉取最新版本的 SSCMS 镜像 - -```sh -docker pull sscms/core:latest -``` - -运行 SSCMS 容器 - -```sh -docker run -d \ - --name my-sscms \ - -p 80:80 \ - --restart=always \ - -v volume-sscms:/app/wwwroot \ - -e SSCMS_SECURITY_KEY=e2a3d303-ac9b-41ff-9154-930710af0845 \ - -e SSCMS_DATABASE_TYPE=SQLite \ - sscms/core -``` - -## 贡献代码 - -项目编译需要使用 Visual Studio 2022,你可以从这里下载 [Visual Studio Community 2022](https://www.visualstudio.com/downloads/) - -代码贡献有很多形式,从提交问题,撰写文档,到提交代码,我们欢迎任何形式的贡献! - -## 系统更新 - -SSCMS 产品将每隔两月发布新的正式版本,我们将在每次迭代中对核心功能、文档支持、功能插件以及网站模板四个方面进行持续改进。 - -## 问题与建议 - -如果发现任何 BUG 以及对产品使用的问题与建议,请提交至 [Github Issues](https://github.com/siteserver/cms/issues) 或者 [Gitee Issues](https://gitee.com/siteserver/cms/issues)。 - -## 关注最新动态 - -[![qrcode](https://sscms.com/assets/images/qrcode_for_wx.jpg)](https://sscms.com/) - -## 特别声明 - -SSCMS 项目已加入 [dotNET China](https://gitee.com/dotnetchina) 组织。
- -![dotnetchina](https://gitee.com/dotnetchina/home/raw/master/assets/dotnetchina-raw.png "dotNET China LOGO") - -## License - -[GNU Affero General Public License v3.0](LICENSE) - -Copyright (C) 2003-2023 SSCMS \ No newline at end of file diff --git a/apps/sscms/data.yml b/apps/sscms/data.yml index 8386862b..56b31c56 100644 --- a/apps/sscms/data.yml +++ b/apps/sscms/data.yml @@ -1,15 +1,19 @@ +name: SSCMS 内容管理系统 +tags: + - 建站 +title: 开源免费、企业级、可商用的CMS内容管理系统 +description: 开源免费、企业级、可商用的CMS内容管理系统 additionalProperties: - crossVersionUpdate: 'true' - document: https://sscms.com/docs/ - github: https://github.com/siteserver/cms - key: sscms - limit: 0 - name: SSCMS 内容管理系统 - shortDescEn: SiteServer CMS is an open source, free, enterprise-level, commercially - available CMS content management system. - shortDescZh: 开源免费、企业级、可商用的CMS内容管理系统 - tags: - - WebSite - - Tool - type: tool - website: https://sscms.com/ + key: sscms + name: SSCMS 内容管理系统 + tags: + - WebSite + shortDescZh: 开源免费、企业级、可商用的CMS内容管理系统 + shortDescEn: Open source free, enterprise-class, commercially available CMS content management system + type: website + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://sscms.com + github: https://github.com/siteserver/cms + document: https://sscms.com/docs diff --git a/apps/sscms/latest/.env.sample b/apps/sscms/latest/.env.sample new file mode 100644 index 00000000..76bc0703 --- /dev/null +++ b/apps/sscms/latest/.env.sample @@ -0,0 +1,11 @@ +CONTAINER_NAME="sscms" +PANEL_APP_PORT_HTTP="40221" +PANEL_DB_HOST="postgresql" +PANEL_DB_HOST_NAME="postgresql" +PANEL_DB_NAME="sscms_23w7b4" +PANEL_DB_PORT="5432" +PANEL_DB_TYPE="postgresql" +PANEL_DB_USER="sscms_PkXRtG" +PANEL_DB_USER_PASSWORD="sscms_k3StZP" +SSCMS_SECURITY_KEY="e2a3d303-ac9b-41ff-9154-930710af0845" +SSCMS_REDIS_CONNECTION_STRING="" \ No newline at end of file diff --git a/apps/sscms/latest/data.yml b/apps/sscms/latest/data.yml index f06a9055..319579da 100644 --- a/apps/sscms/latest/data.yml +++ b/apps/sscms/latest/data.yml @@ -40,11 +40,25 @@ additionalProperties: required: true rule: paramComplexity type: password - - default: 8080 + - default: 40221 edit: true envKey: PANEL_APP_PORT_HTTP labelEn: Port labelZh: 端口 required: true rule: paramPort - type: number \ No newline at end of file + type: number + - default: 'e2a3d303-ac9b-41ff-9154-930710af0845' + edit: true + envKey: SSCMS_SECURITY_KEY + labelEn: Communication key (GUID string) + labelZh: 通信密钥 (GUID 字符串) + required: true + type: text + - default: '' + edit: true + envKey: SSCMS_REDIS_CONNECTION_STRING + labelEn: Redis Connection Information (redis:6379,password=123456) + labelZh: Redis 连接信息 (redis:6379,password=123456) + required: false + type: text diff --git a/apps/sscms/latest/docker-compose.yml b/apps/sscms/latest/docker-compose.yml index 917065c1..d52f6333 100644 --- a/apps/sscms/latest/docker-compose.yml +++ b/apps/sscms/latest/docker-compose.yml @@ -1,23 +1,27 @@ -version: '3.9' +version: '3' services: - sscms: - container_name: ${CONTAINER_NAME} - image: sscms/core:latest - volumes: - - ./data:/app/wwwroot - ports: - - ${PANEL_APP_PORT_HTTP}:8080 - restart: always - environment: - - SSCMS_SECURITY_KEY=e2a3d303-ac9b-41ff-9154-930710af0845 - - SSCMS_DATABASE_TYPE=${PANEL_DB_TYPE} - - SSCMS_DATABASE_HOST=${PANEL_DB_HOST} - - SSCMS_DATABASE_PORT=${PANEL_DB_PORT} - - SSCMS_DATABASE_NAME=${PANEL_DB_NAME} - - SSCMS_DATABASE_USER=${PANEL_DB_USER} - - SSCMS_DATABASE_PASSWORD=${PANEL_DB_USER_PASSWORD} - networks: - - 1panel-network -networks: - 1panel-network: - external: true \ No newline at end of file + sscms: + image: sscms/core:latest + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:8080" + volumes: + - ./data:/app/wwwroot + environment: + - SSCMS_SECURITY_KEY=${SSCMS_SECURITY_KEY} + - SSCMS_DATABASE_TYPE=${PANEL_DB_TYPE} + - SSCMS_DATABASE_HOST=${PANEL_DB_HOST} + - SSCMS_DATABASE_PORT=${PANEL_DB_PORT} + - SSCMS_DATABASE_NAME=${PANEL_DB_NAME} + - SSCMS_DATABASE_USER=${PANEL_DB_USER} + - SSCMS_DATABASE_PASSWORD=${PANEL_DB_USER_PASSWORD} + - SSCMS_REDIS_CONNECTION_STRING=${SSCMS_REDIS_CONNECTION_STRING} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/sscms/logo.png b/apps/sscms/logo.png index df48f0d2..961d068e 100644 Binary files a/apps/sscms/logo.png and b/apps/sscms/logo.png differ