139 lines
3.5 KiB
JSON
139 lines
3.5 KiB
JSON
{
|
||
"id": "mengningsoftware",
|
||
"name": "mengningsoftware",
|
||
"description": "High-performance HTTP server and reverse proxy",
|
||
"category": "web-server",
|
||
"tags": ["web", "proxy", "http", "server"],
|
||
"icon": "https://nginx.org/favicon.ico",
|
||
"author": "Nginx Inc.",
|
||
"website": "https://nginx.org",
|
||
"repository": "https://github.com/nginx/nginx",
|
||
"license": "BSD-2-Clause",
|
||
"version": "1.24.0",
|
||
"deployment_type": "both",
|
||
"config": {
|
||
"schema": {
|
||
"ssl_enabled": {
|
||
"type": "bool",
|
||
"description": "Enable SSL/TLS support",
|
||
"required": false,
|
||
"help": "Enable HTTPS support"
|
||
},
|
||
|
||
"domains": {
|
||
"type": "string",
|
||
"description": "域名(逗号分隔,如 a.com,b.com)",
|
||
"required": false
|
||
},
|
||
"enable_https": {
|
||
"type": "bool",
|
||
"description": "启用 HTTPS",
|
||
"required": false
|
||
},
|
||
"tls_certificate": {
|
||
"type": "string",
|
||
"description": "证书(PEM,-----BEGIN CERTIFICATE-----...)",
|
||
"required": false
|
||
},
|
||
"tls_private_key": {
|
||
"type": "string",
|
||
"description": "私钥(PEM,-----BEGIN PRIVATE KEY-----...)",
|
||
"required": false
|
||
},
|
||
"https_min_tls": {
|
||
"type": "select",
|
||
"description": "最低 TLS 版本",
|
||
"options": ["TLSv1_2", "TLSv1_3"],
|
||
"required": false
|
||
}
|
||
},
|
||
"default": {
|
||
"ssl_enabled": false,
|
||
"domains": "",
|
||
"enable_https": false,
|
||
"https_min_tls": "TLSv1_2"
|
||
}
|
||
},
|
||
"requirements": {
|
||
"min_memory": "128MB",
|
||
"min_cpu": "1 core",
|
||
"min_storage": "100MB",
|
||
"os": "linux",
|
||
"arch": "x86_64"
|
||
},
|
||
"deploy": {
|
||
"docker": {
|
||
"image": "devstar.cn/devstar/devstar-studio-docs",
|
||
"tag": "latest",
|
||
"ports": [
|
||
{
|
||
"host_port": 80,
|
||
"container_port": 80,
|
||
"protocol": "tcp",
|
||
"name": "http"
|
||
},
|
||
{
|
||
"host_port": 443,
|
||
"container_port": 443,
|
||
"protocol": "tcp",
|
||
"name": "https"
|
||
}
|
||
],
|
||
"volumes": [
|
||
{
|
||
"host_path": "/var/log/nginx",
|
||
"container_path": "/var/log/nginx",
|
||
"type": "bind"
|
||
},
|
||
{
|
||
"host_path": "/etc/nginx/conf.d",
|
||
"container_path": "/etc/nginx/conf.d",
|
||
"type": "bind"
|
||
}
|
||
],
|
||
"environment": {
|
||
"NGINX_VERSION": "1.24.0"
|
||
},
|
||
"resources": {
|
||
"cpu": "500m",
|
||
"memory": "512Mi"
|
||
}
|
||
},
|
||
"kubernetes": {
|
||
"namespace": "web-servers",
|
||
"replicas": 2,
|
||
"image": "devstar.cn/devstar/devstar-studio-docs",
|
||
"tag": "latest",
|
||
"ports": [
|
||
{
|
||
"container_port": 80,
|
||
"protocol": "tcp",
|
||
"name": "http"
|
||
}
|
||
],
|
||
"volumes": [
|
||
{
|
||
"container_path": "/var/log/nginx",
|
||
"type": "emptyDir"
|
||
}
|
||
],
|
||
"environment": {
|
||
"NGINX_VERSION": "1.24.0"
|
||
},
|
||
"resources": {
|
||
"cpu": "500m",
|
||
"memory": "512Mi"
|
||
},
|
||
"service": {
|
||
"type": "ClusterIP",
|
||
"ports": [
|
||
{
|
||
"container_port": 80,
|
||
"protocol": "tcp",
|
||
"name": "http"
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
} |