mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 07:59:43 +00:00
feat: Add winctl.sh management script and multi-version setup
Add winctl.sh with 12 commands for managing Windows Docker containers: - start, stop, restart, status, logs, shell, stats - build, rebuild, list, inspect, monitor, check - Interactive menus, prerequisites checking, color output - Support for 22 Windows versions across 4 categories Multi-version compose structure: - Split base.yml into base-modern.yml (8G) and base-legacy.yml (2G) - Add .env.example for configuration - Update all compose files to use env_file - Add unique port mappings per version - Update README with winctl.sh documentation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
c1d3f8e886
commit
effdbe0f6f
25 changed files with 1332 additions and 58 deletions
24
compose.yml
24
compose.yml
|
|
@ -1,25 +1,27 @@
|
|||
# Default compose file - Windows 11 Pro
|
||||
# For more versions, see compose/ folder
|
||||
|
||||
x-common: &common
|
||||
image: dockurr/windows
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 2m
|
||||
# Configure settings in .env file
|
||||
|
||||
services:
|
||||
windows:
|
||||
<<: *common
|
||||
image: dockurr/windows
|
||||
container_name: windows
|
||||
env_file: .env
|
||||
environment:
|
||||
VERSION: "11"
|
||||
RAM_SIZE: ${MODERN_RAM_SIZE:-8G}
|
||||
CPU_CORES: ${MODERN_CPU_CORES:-4}
|
||||
DISK_SIZE: ${MODERN_DISK_SIZE:-128G}
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 8006:8006
|
||||
- 3389:3389/tcp
|
||||
- 3389:3389/udp
|
||||
volumes:
|
||||
- ./data/win11:/storage
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 2m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue