1
0

精简提交历史记录

This commit is contained in:
okxlin
2023-11-09 19:15:01 +08:00
commit 691aa7aac9
1529 changed files with 800341 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="kms-web"
PANEL_APP_PORT_HTTP="40051"
KMS_PORT="1688"

View File

@@ -0,0 +1,19 @@
additionalProperties:
formFields:
- default: 40051
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 1688
edit: true
envKey: KMS_PORT
labelEn: KMS Port
labelZh: KMS端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,19 @@
version: '3'
services:
kms-web:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${KMS_PORT}:1688"
environment:
- KMS_README_WEB=true
image: johngong/kms:1113
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

79
apps/kms-web/README.md Normal file
View File

@@ -0,0 +1,79 @@
## 群晖nas自用
### GitHub:
[https://github.com/gshang2017/docker](https://github.com/gshang2017/docker)
### 感谢以下项目:
[https://github.com/Wind4/vlmcsd](https://github.com/Wind4/vlmcsd "https://github.com/Wind4/vlmcsd")
### 版本:
|名称|版本|说明|
|:-|:-|:-|
|vlmcsd|1113|amd64;arm64v8;arm32v7|
### docker命令行设置
* 变量名变更
|版本|1113|1112|
|:-:|:-|:-|
|1|KMS_README_WEB|WEB|
1. 下载镜像
|镜像源|命令|
|:-|:-|
|DockerHub|docker pull johngong/kms:latest|
|GitHub|docker pull ghcr.io/gshang2017/kms:latest|
2. 创建 kms容器
docker create \
--name=kms \
-p 1688:1688 \
-p 80:80 \
--restart unless-stopped \
johngong/kms:latest
3. 运行
docker start kms
4. 停止
docker stop kms
5. 删除容器
docker rm kms
6. 删除镜像
docker image rm johngong/kms:latest
### 变量:
|参数|说明|
|:-|:-|
| `--name=kms` |容器名|
| `-p 1688:1688 ` |kms服务器端口|
| `-p 80:80` |KMS使用说明web访问端口|
| `-e KMS_README_WEB=true` |(true\|false)KMS使用说明默认开启|
### 群晖docker设置
1. 端口
|参数|说明|
|:-|:-|
| `本地端口1:1688` |kms服务器端口|
| `本地端口2:80` |KMS使用说明web访问端口|
2. 环境变量
|参数|说明|
|:-|:-|
| `KMS_README_WEB=true` |(true\|false)KMS使用说明默认开启|

20
apps/kms-web/data.yml Normal file
View File

@@ -0,0 +1,20 @@
name: KMS & WEB
tags:
- 工具
title: KMS 服务端与 WEB
type: 工具
description: KMS 服务端与 WEB
additionalProperties:
key: kms-web
name: KMS & WEB
tags:
- Tool
shortDescZh: KMS 服务端与 WEB
shortDescEn: KMS server and WEB
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://hub.docker.com/r/johngong/kms
github: https://github.com/gshang2017/docker/tree/master/kms
document: https://hub.docker.com/r/johngong/kms

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="kms-web"
PANEL_APP_PORT_HTTP="40051"
KMS_PORT="1688"

View File

@@ -0,0 +1,19 @@
additionalProperties:
formFields:
- default: 40051
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: 1688
edit: true
envKey: KMS_PORT
labelEn: KMS Port
labelZh: KMS端口
required: true
rule: paramPort
type: number

View File

@@ -0,0 +1,19 @@
version: '3'
services:
kms-web:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
- "${KMS_PORT}:1688"
environment:
- KMS_README_WEB=true
image: johngong/kms:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

BIN
apps/kms-web/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB