mirror of
https://github.com/dockur/windows.git
synced 2025-12-16 04:03:04 +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
|
container_name: windows
|
||||||
hostname: win11
|
hostname: win11
|
||||||
environment:
|
environment:
|
||||||
VERSION: "2025"
|
VERSION: "11"
|
||||||
USERNAME: "admin"
|
USERNAME: "admin"
|
||||||
PASSWORD: "admin"
|
PASSWORD: "StrongPassword123!"
|
||||||
devices:
|
devices:
|
||||||
- /dev/kvm
|
- /dev/kvm
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
@ -24,16 +24,17 @@ services:
|
|||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpus: "4"
|
cpus: "4"
|
||||||
memory: 100G
|
memory: 8G
|
||||||
reservations:
|
reservations:
|
||||||
cpus: "4"
|
cpus: "2"
|
||||||
memory: 100G
|
memory: 4G
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
windows_data:
|
windows_data:
|
||||||
driver: local
|
driver: local
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: xfs
|
||||||
o: bind
|
o: pquota
|
||||||
device: ./windows
|
device: /var/lib/docker/volumes/windows_data
|
||||||
size: 6T # 1 terabyte quota
|
size: 2T # 2 terabyte quota
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user