mirror of
https://github.com/dockur/windows.git
synced 2025-12-15 19:53:05 +00:00
Modify Windows container settings in compose.yml
Updated environment variables and resource limits for the Windows container.
This commit is contained in:
parent
455c6b13ad
commit
dfa21f237b
19
compose.yml
19
compose.yml
@ -4,9 +4,9 @@ services:
|
||||
container_name: windows
|
||||
hostname: win11
|
||||
environment:
|
||||
VERSION: "2025"
|
||||
VERSION: "11"
|
||||
USERNAME: "admin"
|
||||
PASSWORD: "admin"
|
||||
PASSWORD: "StrongPassword123!"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
@ -24,16 +24,17 @@ services:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "4"
|
||||
memory: 100G
|
||||
memory: 8G
|
||||
reservations:
|
||||
cpus: "4"
|
||||
memory: 100G
|
||||
cpus: "2"
|
||||
memory: 4G
|
||||
|
||||
volumes:
|
||||
windows_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ./windows
|
||||
size: 6T # 1 terabyte quota
|
||||
type: xfs
|
||||
o: pquota
|
||||
device: /var/lib/docker/volumes/windows_data
|
||||
size: 2T # 2 terabyte quota
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user