rxr_docker_compose/rxr_mcwin/docker-compose.yml
2025-01-05 14:19:48 +08:00

27 lines
619 B
YAML

services:
windows:
image: dockurr/windows
container_name: mc_win
environment:
# VERSION: "2022"
DISK_SIZE: "200G"
RAM_SIZE: "6G"
CPU_CORES: "6"
USERNAME: "Zengtudor"
PASSWORD: "Zengtudor"
LANGUAGE: "Chinese"
ports:
- 8007:8006
- 3390:3389/tcp
- 3390:3389/udp
# - 25565:25565
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
stop_grace_period: 2m
volumes:
- /root/mcwin:/storage
- /root/mc:/data
- /root/great_wall/file/kod_home/iso/windows/windowsServer2025.iso:/custom.iso