1
0
Fork 0

feat: add windows app (#3969)

This commit is contained in:
lazy-bum 2025-05-29 17:02:29 +08:00 committed by GitHub
parent b1f7902c89
commit 0d612efbd7
7 changed files with 265 additions and 0 deletions

168
windows/4.35/data.yml Normal file
View File

@ -0,0 +1,168 @@
additionalProperties:
formFields:
- default: "11"
envKey: VERSION
labelZh: Windows 版本123支持网络地址
labelEn: Windows Version (Supports network address)
required: false
type: text
label:
en: Windows Version (Supports network address)
ja: Windowsバージョンネットワークアドレスをサポート
ms: Versi Windows (Menyokong alamat rangkaian)
pt-br: Versão do Windows (Suporta endereço de rede)
ru: Версия Windows (поддерживает сетевой адрес)
ko: Windows 버전(네트워크 주소 지원)
zh-hant: Windows 版本(支援網路位址)
zh: Windows 版本123支持网络地址
# - default: ""
# envKey: BOOT_ISO
# labelZh: 启动ISO文件将覆盖Windows版本配置
# labelEn: Boot ISO File (Will override version option)
# required: false
# type: text
# label:
# en: Boot ISO File (Will override version option)
# ja: ブートISOファイルバージョンオプションを上書きします
# ms: Fail ISO Boot (Akan menimpa pilihan versi)
# pt-br: Arquivo ISO de inicialização (substituirá a opção de versão)
# ru: Файл загрузочного ISO (перезапишет опцию версии)
# ko: 부팅 ISO 파일(버전 옵션을 덮어씁니다)
# zh-hant: 啟動ISO檔案將覆蓋版本選項
# zh: 启动ISO文件将覆盖Windows版本配置
- default: 8006
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
label:
en: Port
ja: ポート
ms: Port
pt-br: Porta
ru: Порт
ko: 포트
zh: 端口
zh-Hant:
required: true
rule: paramPort
type: number
- default: "8"
edit: true
envKey: RAM_SIZE
labelEn: RAM Size(GB)
labelZh: 内存大小(GB)
required: true
type: text
label:
en: RAM Size(GB)
ja: RAMサイズ(GB)
ms: Saiz RAM(Gb)
pt-br: Tamanho da RAM(GB)
ru: Размер ОЗУ(ГБ)
ko: RAM 크기(GB)
zh-hant: 隨機存取記憶體大小(GB)
zh: 内存大小(GB)
- default: "4"
edit: true
envKey: CPU_CORES
labelEn: CPU Cores
labelZh: CPU 核心数
required: true
type: text
label:
en: CPU Cores
ja: CPUコア
ms: Teras CPU
pt-br: Núcleos de CPU
ru: Ядра ЦП
ko: CPU 코어
zh-hant: 中央處理器核心數量
zh: CPU 核心数
- default: 64
edit: true
envKey: DISK_SIZE
labelEn: Disk Size(GB)
labelZh: 磁盘大小(GB)
label:
en: Disk Size(GB)
ja: ディスクサイズ(GB)
ms: Saiz Cakera(Gb)
pt-br: Tamanho do Disco(GB)
ru: Размер диска(ГБ)
ko: 디스크 크기(GB)
zh-hant: 磁碟大小(GB)
zh: 磁盘大小(GB)
required: true
type: number
- default: "Docker"
edit: true
envKey: USERNAME
labelEn: Username
labelZh: 系统用户名
required: true
type: text
label:
en: Username
ja: ユーザー名
ms: Nama Pengguna
pt-br: Nome de usuário
ru: Имя пользователя
ko: 사용자 이름
zh-hant: 使用者名稱
zh: 系统用户名
- default: "admin"
edit: true
envKey: PASSWORD
labelEn: Password
labelZh: 系统密码
required: true
type: password
label:
en: Password
ja: パスワード
ms: Kata Laluan
pt-br: Senha
ru: Пароль
ko: 비밀번호
zh-hant: 密碼
zh: 系统密码
- default: "Chinese"
edit: true
envKey: LANGUAGE
labelEn: Language
labelZh: 语言
required: true
type: text
label:
en: Language
ja: 言語
ms: Bahasa
pt-br: Idioma
ru: Язык
ko: 언어
zh-hant: 語言
zh: 语言
- default: "en-US"
edit: true
envKey: KEYBOARD_LAYOUT
labelEn: Keyboard Layout
labelZh: 键盘布局
required: true
type: text
label:
en: Keyboard Layout
ja: キーボードレイアウト
ms: Susun Atur Papan Kekunci
pt-br: Layout do Teclado
ru: Раскладка клавиатуры
ko: 키보드 레이아웃
zh-hant: 鍵盤佈局
zh: 键盘布局

View File

View File

@ -0,0 +1,34 @@
services:
windows:
image: dockurr/windows:4.35
container_name: ${CONTAINER_NAME}
environment:
VERSION: ${VERSION}
RAM_SIZE: ${RAM_SIZE}
CPU_CORES: ${CPU_CORES}
DISK_SIZE: ${DISK_SIZE}
USERNAME: ${USERNAME}
PASSWORD: ${PASSWORD}
LANGUAGE: ${LANGUAGE}
REGION: ${KEYBOARD_LAYOUT}
KEYBOARD: ${KEYBOARD_LAYOUT}
ports:
- ${PANEL_APP_PORT_HTTP}:8006
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
volumes:
- ./data:/storage
restart: always
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

17
windows/README.md Normal file
View File

@ -0,0 +1,17 @@
# 默认账户密码
用户名:`Docker`
密码:`admin`
# Windows
Docker容器中的Windows。
## 特征 ✨
- ISO下载器
- KVM加速
- 基于Web的查看器
详细文档请参考:[https://github.com/dockur/windows](https://github.com/dockur/windows)

16
windows/README_en.md Normal file
View File

@ -0,0 +1,16 @@
# Windows
Windows inside a Docker container.
## Features ✨
- ISO downloader
- KVM acceleration
- Web-based viewer
# Default Account and Password
- **Username**: `Docker`
- **Password**: `admin`.
Detailed documentation can be found at: [https://github.com/dockur/windows](https://github.com/dockur/windows)

30
windows/data.yml Normal file
View File

@ -0,0 +1,30 @@
name: windows
tags:
- Runtime
- OS
title: Docker 容器内的 Windows
description: Docker 容器内的 Windows。
additionalProperties:
key: windows
name: Windows
tags:
- Runtime
- OS
shortDescZh: Docker 容器内的 Windows。
shortDescEn: Windows inside a Docker container.
description:
zh: Docker 容器内的 Windows。
en: Windows inside a Docker container.
ja: Docker コンテナ内の Windows。
ms: Docker 容器內的 Windows。
pt-br: Windows dentro de um contêiner Docker.
ru: Windows в контейнере Docker.
ko: Docker 컨테이너 내의 Windows.
zh-Hant: Docker 容器內的 Windows。
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://github.com/dockur/windows
github: https://github.com/dockur/windows
document: https://github.com/dockur/windows

BIN
windows/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB