feat:添加certd到列表

This commit is contained in:
okxlin 2024-10-23 01:53:44 +08:00
parent bbf1d2f4a5
commit f259c1de4a
12 changed files with 431 additions and 0 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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

24
apps/certd/README.md Normal file
View File

@ -0,0 +1,24 @@
# Certd
Certd 是一个免费全自动申请和自动部署更新SSL证书的管理系统。
后缀d取自linux守护进程的命名风格意为证书守护进程。
关键字:证书自动申请、证书自动更新、证书自动续期、证书自动续签、证书管理工具
## 使用说明
- 账户密码
```
username: admin
password: 123456
```
## 特性
本项目不仅支持证书申请过程自动化,还可以自动化部署更新证书,让你的证书永不过期。
* 全自动申请证书(支持所有注册商注册的域名)
* 全自动部署更新证书目前支持部署到主机、部署到阿里云、腾讯云等目前已支持30+部署插件)
* 支持通配符域名/泛域名,支持多个域名打到一个证书上
* 邮件通知
* 私有化部署,保障数据安全
* 支持sqlitepostgresql数据库

19
apps/certd/data.yml Normal file
View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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

BIN
apps/certd/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB