mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 10:41:54 +08:00
发布 Windows 系统
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
c46897939e
commit
69258dbf1f
1
.github/README.md
vendored
1
.github/README.md
vendored
@ -165,6 +165,7 @@
|
|||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/umami/logo.png" width="22"/> | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/umami/logo.png" width="22"/> | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/watchyourlan/logo.png" width="22"/> | 路由设备监控 | https://github.com/aceberg/WatchYourLAN/ | 轻量级网络 IP 扫描器 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/watchyourlan/logo.png" width="22"/> | 路由设备监控 | https://github.com/aceberg/WatchYourLAN/ | 轻量级网络 IP 扫描器 | |
|
||||||
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/windows/logo.png" width="22"/> | Windows 系统 | https://www.microsoft.com/ | Docker 容器内的 Windows | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wiseflow/logo.png" width="22"/> | WiseFlow | https://github.com/TeamWiseFlow/wiseflow/ | Wiseflow 首席情报官 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wiseflow/logo.png" width="22"/> | WiseFlow | https://github.com/TeamWiseFlow/wiseflow/ | Wiseflow 首席情报官 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wukongim/logo.png" width="22"/> | 悟空IM | https://githubim.com/ | 让信息传递更简单 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wukongim/logo.png" width="22"/> | 悟空IM | https://githubim.com/ | 让信息传递更简单 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/xunlei-cnk3x/logo.png" width="22"/> | 迅雷 NAS版 | https://github.com/cnk3x/xunlei/ | 迅雷远程下载服务 NAS移植版 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/xunlei-cnk3x/logo.png" width="22"/> | 迅雷 NAS版 | https://github.com/cnk3x/xunlei/ | 迅雷远程下载服务 NAS移植版 | |
|
||||||
|
@ -148,6 +148,7 @@
|
|||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/umami/logo.png" width="22"/> | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/umami/logo.png" width="22"/> | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/watchyourlan/logo.png" width="22"/> | 路由设备监控 | https://github.com/aceberg/WatchYourLAN/ | 轻量级网络 IP 扫描器 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/watchyourlan/logo.png" width="22"/> | 路由设备监控 | https://github.com/aceberg/WatchYourLAN/ | 轻量级网络 IP 扫描器 | |
|
||||||
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/windows/logo.png" width="22"/> | Windows 系统 | https://www.microsoft.com/ | Docker 容器内的 Windows | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wiseflow/logo.png" width="22"/> | WiseFlow | https://github.com/TeamWiseFlow/wiseflow/ | Wiseflow 首席情报官 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wiseflow/logo.png" width="22"/> | WiseFlow | https://github.com/TeamWiseFlow/wiseflow/ | Wiseflow 首席情报官 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wukongim/logo.png" width="22"/> | 悟空IM | https://githubim.com/ | 让信息传递更简单 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wukongim/logo.png" width="22"/> | 悟空IM | https://githubim.com/ | 让信息传递更简单 | |
|
||||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/xunlei-cnk3x/logo.png" width="22"/> | 迅雷 NAS版 | https://github.com/cnk3x/xunlei/ | 迅雷远程下载服务 NAS移植版 | |
|
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/xunlei-cnk3x/logo.png" width="22"/> | 迅雷 NAS版 | https://github.com/cnk3x/xunlei/ | 迅雷远程下载服务 NAS移植版 | |
|
||||||
|
197
apps/windows/4.00/data.yml
Normal file
197
apps/windows/4.00/data.yml
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "/home/windows"
|
||||||
|
edit: true
|
||||||
|
envKey: WINDOWS_STORAGE_ROOT_PATH
|
||||||
|
labelZh: Windows 存储目录
|
||||||
|
labelEn: Windows Storage Path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "/home/windows"
|
||||||
|
edit: true
|
||||||
|
envKey: WINDOWS_SHARE_ROOT_PATH
|
||||||
|
labelZh: Windows 网上邻居共享目录
|
||||||
|
labelEn: Windows Share Path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "/home/windows"
|
||||||
|
edit: true
|
||||||
|
envKey: WINDOWS_OEM_ROOT_PATH
|
||||||
|
labelZh: Windows OEM 目录
|
||||||
|
labelEn: Windows OEM Path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 8006
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: 3389
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_REMOTE
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "win11"
|
||||||
|
edit: true
|
||||||
|
envKey: VERSION
|
||||||
|
labelZh: Windows 版本
|
||||||
|
labelEn: Windows Version
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: Windows 11 Pro (5.4GB)
|
||||||
|
value: "win11"
|
||||||
|
- label: Windows 11 LTSC (4.2GB)
|
||||||
|
value: "ltsc11"
|
||||||
|
- label: Windows 11 Enterprise (5.8GB)
|
||||||
|
value: "win11e"
|
||||||
|
- label: Windows 10 Pro (5.7GB)
|
||||||
|
value: "win10"
|
||||||
|
- label: Windows 10 LTSC (4.6GB)
|
||||||
|
value: "ltsc10"
|
||||||
|
- label: Windows 10 Enterprise (5.2GB)
|
||||||
|
value: "win10e"
|
||||||
|
- label: Windows 8.1 Pro (4.0GB)
|
||||||
|
value: "win8"
|
||||||
|
- label: Windows 8.1 Enterprise (3.7GB)
|
||||||
|
value: "win8e"
|
||||||
|
- label: Windows 7 Enterprise (3.0GB)
|
||||||
|
value: "win7"
|
||||||
|
- label: Windows Vista Enterprise (3.0GB)
|
||||||
|
value: "vista"
|
||||||
|
- label: Windows XP Professional (0.6GB)
|
||||||
|
value: "winxp"
|
||||||
|
- label: Windows Server 2025 (5.0GB)
|
||||||
|
value: "2025"
|
||||||
|
- label: Windows Server 2022 (4.7GB)
|
||||||
|
value: "2022"
|
||||||
|
- label: Windows Server 2019 (5.3GB)
|
||||||
|
value: "2019"
|
||||||
|
- label: Windows Server 2016 (6.5GB)
|
||||||
|
value: "2016"
|
||||||
|
- label: Windows Server 2012 (4.3GB)
|
||||||
|
value: "2012"
|
||||||
|
- label: Windows Server 2008 (3.0GB)
|
||||||
|
value: "2008"
|
||||||
|
- label: Windows Server 2003 (0.6GB)
|
||||||
|
value: "2003"
|
||||||
|
- default: "Administrator"
|
||||||
|
edit: true
|
||||||
|
envKey: USERNAME
|
||||||
|
labelZh: 用户名
|
||||||
|
labelEn: Username
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: PASSWORD
|
||||||
|
labelZh: 密码
|
||||||
|
labelEn: Password
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- default: "N"
|
||||||
|
edit: true
|
||||||
|
envKey: MANUAL
|
||||||
|
labelZh: 安装模式选择
|
||||||
|
labelEn: Manual Mode
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 自动化安装
|
||||||
|
value: "N"
|
||||||
|
- label: 手动安装
|
||||||
|
value: "Y"
|
||||||
|
- default: "8G"
|
||||||
|
edit: true
|
||||||
|
envKey: RAM_SIZE
|
||||||
|
labelZh: 内存大小
|
||||||
|
labelEn: RAM Size
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 4
|
||||||
|
edit: true
|
||||||
|
envKey: CPU_CORES
|
||||||
|
labelZh: CPU 核心数
|
||||||
|
labelEn: CPU Cores
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
- default: "CN"
|
||||||
|
edit: true
|
||||||
|
envKey: LANGUAGE
|
||||||
|
labelZh: Windows 语言
|
||||||
|
labelEn: Windows Language
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 阿拉伯语
|
||||||
|
value: "AE"
|
||||||
|
- label: 保加利亚语
|
||||||
|
value: "BG"
|
||||||
|
- label: 简体中文
|
||||||
|
value: "CN"
|
||||||
|
- label: 克罗地亚语
|
||||||
|
value: "HR"
|
||||||
|
- label: 捷克语
|
||||||
|
value: "CZ"
|
||||||
|
- label: 丹麦语
|
||||||
|
value: "DK"
|
||||||
|
- label: 荷兰语
|
||||||
|
value: "NL"
|
||||||
|
- label: 英语
|
||||||
|
value: "GB"
|
||||||
|
- label: 爱沙尼亚语
|
||||||
|
value: "EE"
|
||||||
|
- label: 芬兰语
|
||||||
|
value: "FI"
|
||||||
|
- label: 法语
|
||||||
|
value: "FR"
|
||||||
|
- label: 德语
|
||||||
|
value: "DE"
|
||||||
|
- label: 希腊语
|
||||||
|
value: "GR"
|
||||||
|
- label: 希伯来语
|
||||||
|
value: "IL"
|
||||||
|
- label: 匈牙利语
|
||||||
|
value: "HU"
|
||||||
|
- label: 意大利语
|
||||||
|
value: "IT"
|
||||||
|
- label: 日语
|
||||||
|
value: "JP"
|
||||||
|
- label: 韩语
|
||||||
|
value: "KR"
|
||||||
|
- label: 拉脱维亚语
|
||||||
|
value: "LV"
|
||||||
|
- label: 立陶宛语
|
||||||
|
value: "LT"
|
||||||
|
- label: 挪威语
|
||||||
|
value: "NO"
|
||||||
|
- label: 波兰语
|
||||||
|
value: "PL"
|
||||||
|
- label: 葡萄牙语
|
||||||
|
value: "PT"
|
||||||
|
- label: 罗马尼亚语
|
||||||
|
value: "RO"
|
||||||
|
- label: 俄语
|
||||||
|
value: "RU"
|
||||||
|
- label: 塞尔维亚语
|
||||||
|
value: "RS"
|
||||||
|
- label: 斯洛伐克语
|
||||||
|
value: "SK"
|
||||||
|
- label: 斯洛文尼亚语
|
||||||
|
value: "SI"
|
||||||
|
- label: 西班牙语
|
||||||
|
value: "ES"
|
||||||
|
- label: 瑞典语
|
||||||
|
value: "SE"
|
||||||
|
- label: 泰语
|
||||||
|
value: "TH"
|
||||||
|
- label: 土耳其语
|
||||||
|
value: "TR"
|
||||||
|
- label: 乌克兰语
|
||||||
|
value: "UA"
|
37
apps/windows/4.00/docker-compose.yml
Normal file
37
apps/windows/4.00/docker-compose.yml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
windows:
|
||||||
|
image: dockurr/windows:4.00
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8006
|
||||||
|
- ${PANEL_APP_PORT_REMOTE}:3389/tcp
|
||||||
|
- ${PANEL_APP_PORT_REMOTE}:3389/udp
|
||||||
|
devices:
|
||||||
|
- /dev/kvm:/dev/kvm
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
# - /dev/nvidia0:/dev/nvidia0
|
||||||
|
# - /dev/nvidiactl:/dev/nvidiactl
|
||||||
|
# - /dev/nvidia-modeset:/dev/nvidia-modeset
|
||||||
|
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
|
||||||
|
# - /dev/nvidia-uvm:/dev/nvidia-uvm
|
||||||
|
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
|
||||||
|
# - /dev/video11:/dev/video11
|
||||||
|
env_file:
|
||||||
|
- /etc/1panel/envs/global.env
|
||||||
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
|
volumes:
|
||||||
|
- ${WINDOWS_STORAGE_ROOT_PATH}/storage:/storage
|
||||||
|
- ${WINDOWS_SHARE_ROOT_PATH}/share:/data
|
||||||
|
- ${WINDOWS_OEM_ROOT_PATH}/oem:/oem
|
||||||
|
environment:
|
||||||
|
- REGION=en-US
|
||||||
|
- KEYBOARD=en-US
|
15
apps/windows/4.00/scripts/init.sh
Normal file
15
apps/windows/4.00/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
10
apps/windows/4.00/scripts/uninstall.sh
Normal file
10
apps/windows/4.00/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
15
apps/windows/4.00/scripts/upgrade.sh
Normal file
15
apps/windows/4.00/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f .env ]; then
|
||||||
|
source .env
|
||||||
|
|
||||||
|
# setup-1 add default values
|
||||||
|
CURRENT_DIR=$(pwd)
|
||||||
|
sed -i '/^ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
75
apps/windows/README.md
Normal file
75
apps/windows/README.md
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
# Windows 系统
|
||||||
|
|
||||||
|
Docker 容器内的 Windows
|
||||||
|
|
||||||
|
![Windows](https://file.lifebus.top/imgs/windows_cover.jpg)
|
||||||
|
|
||||||
|
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||||
|
|
||||||
|
## 简介
|
||||||
|
|
||||||
|
Microsoft Windows,或称Windows操作系统,是微软以图形用户界面为主推出的一系列专有商业软件操作系统。
|
||||||
|
它于1985年问世,起初为运行于MS-DOS之下的桌面环境,其后续版本逐渐发展成为主要为个人电脑和服务器用户设计的操作系统,并最终获得了世界个人电脑操作系统的垄断地位。
|
||||||
|
|
||||||
|
## 特性
|
||||||
|
|
||||||
|
+ 国际标准下载器
|
||||||
|
+ KVM 加速
|
||||||
|
+ 网络浏览器
|
||||||
|
|
||||||
|
## 安装说明
|
||||||
|
|
||||||
|
由于需要下载系统镜像,安装过程的快慢取决于您的网络,请耐心等待。
|
||||||
|
|
||||||
|
## 常见问题
|
||||||
|
|
||||||
|
### kvm 模块加载失败
|
||||||
|
|
||||||
|
请检查是否开启了虚拟化功能,或者在 BIOS 中开启虚拟化功能。
|
||||||
|
|
||||||
|
### 挂载更多磁盘
|
||||||
|
|
||||||
|
请修改 docker-compose.yml 参数配置
|
||||||
|
|
||||||
|
```yml
|
||||||
|
environment:
|
||||||
|
DISK2_SIZE: "32G"
|
||||||
|
DISK3_SIZE: "64G"
|
||||||
|
volumes:
|
||||||
|
- /home/example:/storage2
|
||||||
|
- /mnt/data/example:/storage3
|
||||||
|
```
|
||||||
|
|
||||||
|
### 如何直通磁盘
|
||||||
|
|
||||||
|
请修改 docker-compose.yml 参数配置
|
||||||
|
|
||||||
|
```yml
|
||||||
|
devices:
|
||||||
|
- /dev/sdb:/disk1
|
||||||
|
- /dev/sdc:/disk2
|
||||||
|
```
|
||||||
|
|
||||||
|
### 如何通过 USB 设备进行数据传输
|
||||||
|
|
||||||
|
请修改 docker-compose.yml 参数配置
|
||||||
|
|
||||||
|
```yml
|
||||||
|
environment:
|
||||||
|
ARGUMENTS: "-device usb-host,vendorid=0x1234,productid=0x1234"
|
||||||
|
devices:
|
||||||
|
- /dev/bus/usb
|
||||||
|
```
|
||||||
|
|
||||||
|
### 如何使用 RDP 进行连接
|
||||||
|
|
||||||
|
通过网页访问,一般情况下适用于系统安装过程中使用,因为其画质较低,且没有音频或剪贴板等功能。
|
||||||
|
|
||||||
|
您可以使用任何 Microsoft 远程桌面客户端连接到容器的 IP 地址,使用用户名 Docker ,并且密码留空。
|
||||||
|
|
||||||
|
安卓设备可以从应用商店下载 RDP 客户端,iOS 设备则可在苹果商店找到对应的客户端。Linux 用户可以使用 FreeRDP,而 Windows
|
||||||
|
用户只需在搜索框中输入 mstsc 即可。
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
14
apps/windows/data.yml
Normal file
14
apps/windows/data.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
additionalProperties:
|
||||||
|
key: windows
|
||||||
|
name: Windows 系统
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
- Local
|
||||||
|
shortDescZh: Docker 容器内的 Windows
|
||||||
|
shortDescEn: Windows in Docker container
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
website: https://www.microsoft.com/
|
||||||
|
github: https://github.com/dockur/windows/
|
||||||
|
document: https://www.microsoft.com/
|
BIN
apps/windows/logo.png
Normal file
BIN
apps/windows/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue
Block a user