mirror of
https://github.com/dockur/windows.git
synced 2026-01-09 15:53:14 +00:00
Modify Windows service settings in compose.yml
Updated Windows service configuration in compose.yml to use version 11 and changed disk size to 2T. Adjusted volume mounts and removed resource limits and reservations.
This commit is contained in:
parent
342a81cd3d
commit
06b6e19ef9
34
compose.yml
34
compose.yml
@ -2,43 +2,23 @@ services:
|
|||||||
windows:
|
windows:
|
||||||
image: dockurr/windows
|
image: dockurr/windows
|
||||||
container_name: windows
|
container_name: windows
|
||||||
hostname: win2025
|
|
||||||
environment:
|
environment:
|
||||||
VERSION: "2025"
|
VERSION: "11"
|
||||||
DISK_DRIVER: "virtio" # faster disk I/O
|
DISK_SIZE: "2T"
|
||||||
NET_DRIVER: "virtio" # faster networking
|
|
||||||
USERNAME: "admin"
|
|
||||||
PASSWORD: "StrongPassword123!"
|
|
||||||
devices:
|
devices:
|
||||||
- /dev/kvm
|
- /dev/kvm
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
- /dev/dri:/dev/dri # GPU passthrough if available
|
- /dev/dri
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_ADMIN
|
|
||||||
ports:
|
ports:
|
||||||
- 8006:8006
|
- 8006:8006
|
||||||
- 3389:3389/tcp
|
- 3389:3389/tcp
|
||||||
- 3389:3389/udp
|
- 3389:3389/udp
|
||||||
volumes:
|
volumes:
|
||||||
- windows_data:/storage
|
- ./windows:/storage
|
||||||
- /dev/hugepages:/dev/hugepages # HugePages for faster memory
|
- /run/user/1000/pulse:/run/user/1000/pulse
|
||||||
|
environment:
|
||||||
|
PULSE_SERVER: unix:/run/user/1000/pulse/native
|
||||||
restart: always
|
restart: always
|
||||||
stop_grace_period: 2m
|
stop_grace_period: 2m
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpus: "16" # max 16 cores
|
|
||||||
memory: 32G # max 32 GB RAM
|
|
||||||
reservations:
|
|
||||||
cpus: "8" # reserve 8 cores
|
|
||||||
memory: 16G # reserve 16 GB RAM
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
windows_data:
|
|
||||||
driver: local
|
|
||||||
driver_opts:
|
|
||||||
type: xfs
|
|
||||||
o: pquota
|
|
||||||
device: /var/lib/docker/volumes/windows_data
|
|
||||||
size: 2T # dedicated 2 terabyte disk
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user