windows_in_docker/.env.modern
Michel Abboud 23cc434703 feat: Add configurable restart policy, default to on-failure
- Changed restart policy from unless-stopped to on-failure
  so Windows shutdown stops the container instead of restarting
- Added RESTART_POLICY env variable to .env.modern and .env.legacy
- Compose files use ${RESTART_POLICY:-on-failure} for flexibility
- Updated WINCTL_GUIDE.md with restart policy documentation
- Updated readme.md with RESTART_POLICY setting

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:46:11 +00:00

30 lines
386 B
Plaintext

# Modern Systems Configuration (Windows 10/11, Server 2016+)
# Resources
RAM_SIZE=8G
CPU_CORES=4
DISK_SIZE=128G
# User Credentials
USERNAME=docker
PASSWORD=admin
# Language & Region
LANGUAGE=en
REGION=en-US
KEYBOARD=en-US
# Display
WIDTH=1280
HEIGHT=720
# Network
DHCP=N
SAMBA=Y
# Restart Policy (no, on-failure, always, unless-stopped)
RESTART_POLICY=on-failure
# Debug
DEBUG=N