docker-windows/compose.yml
2025-02-26 10:42:38 +02:00

31 lines
No EOL
614 B
YAML

services:
windows:
build: .
container_name: windows
privileged: true
healthcheck:
test: "[ -f /data/ready ] || exit 1"
interval: 60s
retries: 5
start_period: 300s
timeout: 2s
environment:
VERSION: "11"
USERNAME: "bill"
PASSWORD: "gates"
DEBUG: "y"
MANUAL: "n"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
volumes:
- ./scripts:/oem
- ./shared:/data
- ./custom.xml:/custom.xml