windows_in_docker/compose.yml
474791-dev b83779cad1
Update storage configuration in compose.yml
Replace local storage with a dedicated volume for VM.
2025-12-12 10:56:23 -05:00

29 lines
571 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "11"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
- windows_data:/storage # VMs own 2TB disk
restart: always
stop_grace_period: 2m
volumes:
windows_data:
driver: local
driver_opts:
type: xfs
o: pquota
device: /var/lib/docker/volumes/windows_data
size: 2T # dedicated 2 terabyte quota