windows_in_docker/compose.yml
synacktra.work@gmail.com e241426eea chore: split compose into separate files
- Split compose.yml into two files: compose.yml for running and compose.prepare.yml for golden image preparation
- Rename env vars STORAGE->STORAGE_DIR and ISO->ISO_FILE to avoid conflicts with internal script variables
- Remove unused VERSION env var (hardcoded in scripts)
- Update README with new command syntax
2025-11-15 17:08:02 +05:30

18 lines
372 B
YAML

services:
windows:
image: windows-local:latest
container_name: windows
environment:
STORAGE_DIR: "${STORAGE_DIR:?Error: required env var not set}"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
volumes:
- ${STORAGE_DIR}:/storage