diff --git a/apps/certd/1.26.10/.env.sample b/apps/certd/1.26.10/.env.sample new file mode 100644 index 00000000..d3029589 --- /dev/null +++ b/apps/certd/1.26.10/.env.sample @@ -0,0 +1,10 @@ +CONTAINER_NAME="certd" +DATA_PATH="./data" +DNS_1="223.5.5.5" +DNS_2="119.29.29.29" +HTTPS_PROXY="" +HTTP_PROXY="" +IMMEDIATE_TRIGGER="false" +PANEL_APP_PORT_HTTP=40311 +RESET_ADMIN_PASSWD="false" +TIME_ZONE="Asia/Shanghai" diff --git a/apps/certd/1.26.10/data.yml b/apps/certd/1.26.10/data.yml new file mode 100644 index 00000000..cbd18d99 --- /dev/null +++ b/apps/certd/1.26.10/data.yml @@ -0,0 +1,76 @@ +additionalProperties: + formFields: + - default: "40311" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data" + edit: true + envKey: DATA_PATH + labelEn: Data Path + labelZh: 数据路径 + required: true + type: text + - default: "223.5.5.5" + edit: true + envKey: DNS_1 + labelEn: Primary DNS + labelZh: 主 DNS + required: true + type: text + - default: "119.29.29.29" + edit: true + envKey: DNS_2 + labelEn: Secondary DNS + labelZh: 次 DNS + required: true + type: text + - default: "Asia/Shanghai" + edit: true + envKey: TIME_ZONE + labelEn: Time Zone + labelZh: 时区 + required: true + type: text + - default: "" + edit: true + envKey: HTTPS_PROXY + labelEn: HTTPS Proxy + labelZh: HTTPS 代理 + required: false + type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelEn: HTTP Proxy + labelZh: HTTP 代理 + required: false + type: text + - default: "false" + edit: true + envKey: RESET_ADMIN_PASSWD + labelEn: Reset Admin Password + labelZh: 重置管理员密码 + required: true + type: select + values: + - label: "true" + value: "true" + - label: "false" + value: "false" + - default: "false" + edit: true + envKey: IMMEDIATE_TRIGGER + labelEn: Immediate trigger of cron + labelZh: 立即触发定时任务 + required: true + type: select + values: + - label: "true" + value: "true" + - label: "false" + value: "false" diff --git a/apps/certd/1.26.10/docker-compose.yml b/apps/certd/1.26.10/docker-compose.yml new file mode 100644 index 00000000..259e330f --- /dev/null +++ b/apps/certd/1.26.10/docker-compose.yml @@ -0,0 +1,26 @@ +services: + certd: + image: "greper/certd:1.26.10" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + volumes: + - ${DATA_PATH}:/app/data + ports: + - "${PANEL_APP_PORT_HTTP}:7001" + dns: + - ${DNS_1} + - ${DNS_2} + environment: + - TZ=${TIME_ZONE} + - HTTPS_PROXY=${HTTPS_PROXY} + - HTTP_PROXY=${HTTP_PROXY} + - certd_system_resetAdminPasswd=${RESET_ADMIN_PASSWD} + - certd_cron_immediateTriggerOnce=${IMMEDIATE_TRIGGER} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/certd/README.md b/apps/certd/README.md new file mode 100644 index 00000000..2e0ee077 --- /dev/null +++ b/apps/certd/README.md @@ -0,0 +1,24 @@ +# Certd + +Certd 是一个免费全自动申请和自动部署更新SSL证书的管理系统。 +后缀d取自linux守护进程的命名风格,意为证书守护进程。 + +关键字:证书自动申请、证书自动更新、证书自动续期、证书自动续签、证书管理工具 + +## 使用说明 + +- 账户密码 +``` +username: admin +password: 123456 +``` + +## 特性 +本项目不仅支持证书申请过程自动化,还可以自动化部署更新证书,让你的证书永不过期。 + +* 全自动申请证书(支持所有注册商注册的域名) +* 全自动部署更新证书(目前支持部署到主机、部署到阿里云、腾讯云等,目前已支持30+部署插件) +* 支持通配符域名/泛域名,支持多个域名打到一个证书上 +* 邮件通知 +* 私有化部署,保障数据安全 +* 支持sqlite,postgresql数据库 \ No newline at end of file diff --git a/apps/certd/data.yml b/apps/certd/data.yml new file mode 100644 index 00000000..51d77eca --- /dev/null +++ b/apps/certd/data.yml @@ -0,0 +1,19 @@ +name: Certd +tags: + - 安全 +title: 开源 SSL 证书管理工具 +description: 开源 SSL 证书管理工具 +additionalProperties: + key: certd + name: Certd + tags: + - Security + shortDescZh: 开源 SSL 证书管理工具 + shortDescEn: Open source SSL certificate management tool + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://certd.docmirror.cn + github: https://github.com/certd/certd + document: https://certd.docmirror.cn diff --git a/apps/certd/latest-postgres/.env.sample b/apps/certd/latest-postgres/.env.sample new file mode 100644 index 00000000..e9903420 --- /dev/null +++ b/apps/certd/latest-postgres/.env.sample @@ -0,0 +1,15 @@ +CONTAINER_NAME="certd" +DATA_PATH="./data" +DNS_1="223.5.5.5" +DNS_2="119.29.29.29" +HTTPS_PROXY="" +HTTP_PROXY="" +IMMEDIATE_TRIGGER="false" +PANEL_APP_PORT_HTTP=40311 +PANEL_DB_HOST="postgresql" +PANEL_DB_NAME="certd" +PANEL_DB_PORT=5432 +PANEL_DB_USER="certd" +PANEL_DB_USER_PASSWORD="certd" +RESET_ADMIN_PASSWD="false" +TIME_ZONE="Asia/Shanghai" diff --git a/apps/certd/latest-postgres/data.yml b/apps/certd/latest-postgres/data.yml new file mode 100644 index 00000000..cbbdea77 --- /dev/null +++ b/apps/certd/latest-postgres/data.yml @@ -0,0 +1,116 @@ +additionalProperties: + formFields: + - default: "40311" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data" + edit: true + envKey: DATA_PATH + labelEn: Data Path + labelZh: 数据路径 + required: true + type: text + - default: "223.5.5.5" + edit: true + envKey: DNS_1 + labelEn: Primary DNS + labelZh: 主 DNS + required: true + type: text + - default: "119.29.29.29" + edit: true + envKey: DNS_2 + labelEn: Secondary DNS + labelZh: 次 DNS + required: true + type: text + - default: "Asia/Shanghai" + edit: true + envKey: TIME_ZONE + labelEn: Time Zone + labelZh: 时区 + required: true + type: text + - default: "" + edit: true + envKey: HTTPS_PROXY + labelEn: HTTPS Proxy + labelZh: HTTPS 代理 + required: false + type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelEn: HTTP Proxy + labelZh: HTTP 代理 + required: false + type: text + - default: "false" + edit: true + envKey: RESET_ADMIN_PASSWD + labelEn: Reset Admin Password + labelZh: 重置管理员密码 + required: true + type: select + values: + - label: "true" + value: "true" + - label: "false" + value: "false" + - default: "false" + edit: true + envKey: IMMEDIATE_TRIGGER + labelEn: Immediate trigger of cron + labelZh: 立即触发定时任务 + required: true + type: select + values: + - label: "true" + value: "true" + - label: "false" + value: "false" + - default: "" + edit: true + envKey: PANEL_DB_HOST + key: postgresql + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: service + - default: "5432" + edit: true + envKey: PANEL_DB_PORT + labelEn: Database Port Number + labelZh: 数据库端口号 + required: true + rule: paramPort + type: number + - default: "certd" + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: "certd" + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: "certd" + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password diff --git a/apps/certd/latest-postgres/docker-compose.yml b/apps/certd/latest-postgres/docker-compose.yml new file mode 100644 index 00000000..49f8a73c --- /dev/null +++ b/apps/certd/latest-postgres/docker-compose.yml @@ -0,0 +1,33 @@ +services: + certd: + image: "greper/certd:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + volumes: + - ${DATA_PATH}:/app/data + ports: + - "${PANEL_APP_PORT_HTTP}:7001" + dns: + - ${DNS_1} + - ${DNS_2} + environment: + - TZ=${TIME_ZONE} + - HTTPS_PROXY=${HTTPS_PROXY} + - HTTP_PROXY=${HTTP_PROXY} + - certd_system_resetAdminPasswd=${RESET_ADMIN_PASSWD} + - certd_cron_immediateTriggerOnce=${IMMEDIATE_TRIGGER} + - certd_flyway_scriptDir=./db/migration-pg + - certd_typeorm_dataSource_default_type=postgres + - certd_typeorm_dataSource_default_host=${PANEL_DB_HOST} + - certd_typeorm_dataSource_default_port=${PANEL_DB_PORT} + - certd_typeorm_dataSource_default_username=${PANEL_DB_USER} + - certd_typeorm_dataSource_default_password=${PANEL_DB_USER_PASSWORD} + - certd_typeorm_dataSource_default_database=${PANEL_DB_NAME} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/certd/latest/.env.sample b/apps/certd/latest/.env.sample new file mode 100644 index 00000000..d3029589 --- /dev/null +++ b/apps/certd/latest/.env.sample @@ -0,0 +1,10 @@ +CONTAINER_NAME="certd" +DATA_PATH="./data" +DNS_1="223.5.5.5" +DNS_2="119.29.29.29" +HTTPS_PROXY="" +HTTP_PROXY="" +IMMEDIATE_TRIGGER="false" +PANEL_APP_PORT_HTTP=40311 +RESET_ADMIN_PASSWD="false" +TIME_ZONE="Asia/Shanghai" diff --git a/apps/certd/latest/data.yml b/apps/certd/latest/data.yml new file mode 100644 index 00000000..cbd18d99 --- /dev/null +++ b/apps/certd/latest/data.yml @@ -0,0 +1,76 @@ +additionalProperties: + formFields: + - default: "40311" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: "./data" + edit: true + envKey: DATA_PATH + labelEn: Data Path + labelZh: 数据路径 + required: true + type: text + - default: "223.5.5.5" + edit: true + envKey: DNS_1 + labelEn: Primary DNS + labelZh: 主 DNS + required: true + type: text + - default: "119.29.29.29" + edit: true + envKey: DNS_2 + labelEn: Secondary DNS + labelZh: 次 DNS + required: true + type: text + - default: "Asia/Shanghai" + edit: true + envKey: TIME_ZONE + labelEn: Time Zone + labelZh: 时区 + required: true + type: text + - default: "" + edit: true + envKey: HTTPS_PROXY + labelEn: HTTPS Proxy + labelZh: HTTPS 代理 + required: false + type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelEn: HTTP Proxy + labelZh: HTTP 代理 + required: false + type: text + - default: "false" + edit: true + envKey: RESET_ADMIN_PASSWD + labelEn: Reset Admin Password + labelZh: 重置管理员密码 + required: true + type: select + values: + - label: "true" + value: "true" + - label: "false" + value: "false" + - default: "false" + edit: true + envKey: IMMEDIATE_TRIGGER + labelEn: Immediate trigger of cron + labelZh: 立即触发定时任务 + required: true + type: select + values: + - label: "true" + value: "true" + - label: "false" + value: "false" diff --git a/apps/certd/latest/docker-compose.yml b/apps/certd/latest/docker-compose.yml new file mode 100644 index 00000000..8f9f5e2f --- /dev/null +++ b/apps/certd/latest/docker-compose.yml @@ -0,0 +1,26 @@ +services: + certd: + image: "greper/certd:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + volumes: + - ${DATA_PATH}:/app/data + ports: + - "${PANEL_APP_PORT_HTTP}:7001" + dns: + - ${DNS_1} + - ${DNS_2} + environment: + - TZ=${TIME_ZONE} + - HTTPS_PROXY=${HTTPS_PROXY} + - HTTP_PROXY=${HTTP_PROXY} + - certd_system_resetAdminPasswd=${RESET_ADMIN_PASSWD} + - certd_cron_immediateTriggerOnce=${IMMEDIATE_TRIGGER} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/certd/logo.png b/apps/certd/logo.png new file mode 100644 index 00000000..9b33bec6 Binary files /dev/null and b/apps/certd/logo.png differ