docker-windows/compose/server/win2022.yml
Michel Abboud 6a0b6a1511 feat: Add ARM64 architecture auto-detection and image selection
Auto-detect machine architecture via uname and use the correct Docker
image (dockurr/windows for x86, dockurr/windows-arm for ARM64). Block
unsupported versions on ARM with a clear error message, and show
[x86 only] tags in the list command. Compose files now use a
configurable WINDOWS_IMAGE variable with a default fallback.

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

20 lines
438 B
YAML

services:
win2022:
image: ${WINDOWS_IMAGE:-dockurr/windows}
container_name: win2022
env_file: ../../.env.modern
environment:
VERSION: "2022"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8022:8006
- 3322:3389/tcp
- 3322:3389/udp
volumes:
- ../../data/win2022:/storage
restart: ${RESTART_POLICY:-on-failure}
stop_grace_period: 2m