mirror of
https://github.com/dockur/windows.git
synced 2026-02-04 01:37:21 +00:00
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>
21 lines
437 B
YAML
21 lines
437 B
YAML
services:
|
|
tiny11:
|
|
image: ${WINDOWS_IMAGE:-dockurr/windows}
|
|
container_name: tiny11
|
|
env_file: ../../.env.legacy
|
|
environment:
|
|
VERSION: "tiny11"
|
|
devices:
|
|
- /dev/kvm
|
|
- /dev/net/tun
|
|
cap_add:
|
|
- NET_ADMIN
|
|
ports:
|
|
- 8111:8006
|
|
- 3111:3389/tcp
|
|
- 3111:3389/udp
|
|
volumes:
|
|
- ../../data/tiny11:/storage
|
|
restart: ${RESTART_POLICY:-on-failure}
|
|
stop_grace_period: 2m
|