rxr_docker_compose/rxr_mcwin/docker-compose.yml

27 lines
617 B
YAML
Raw Normal View History

2025-01-05 05:36:26 +00:00
services:
windows:
2025-01-05 05:59:16 +00:00
image: dockurr/windows
2025-01-05 06:00:19 +00:00
container_name: mc_win
2025-01-05 05:36:26 +00:00
environment:
2025-01-05 06:12:56 +00:00
# VERSION: "2022"
2025-01-05 05:59:16 +00:00
DISK_SIZE: "200G"
RAM_SIZE: "6G"
CPU_CORES: "6"
USERNAME: "Zengtudor"
PASSWORD: "Zengtudor"
LANGUAGE: "Chinese"
2025-01-05 06:18:06 +00:00
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
- 25565:25565
2025-01-05 05:36:26 +00:00
devices:
2025-01-05 05:59:16 +00:00
- /dev/kvm
- /dev/net/tun
2025-01-05 05:36:26 +00:00
cap_add:
2025-01-05 05:59:16 +00:00
- NET_ADMIN
stop_grace_period: 2m
2025-01-05 05:36:26 +00:00
volumes:
2025-01-05 05:59:16 +00:00
- /root/mcwin:/storage
- /root/mc:/data
2025-01-05 06:18:06 +00:00
- /root/great_wall/file/kod_home/iso/windows/windowsServer2025.iso:/custom.iso