update
This commit is contained in:
parent
10f257bd00
commit
a5b3206a64
@ -10,29 +10,18 @@ services:
|
|||||||
USERNAME: "Zengtudor"
|
USERNAME: "Zengtudor"
|
||||||
PASSWORD: "Zengtudor"
|
PASSWORD: "Zengtudor"
|
||||||
LANGUAGE: "Chinese"
|
LANGUAGE: "Chinese"
|
||||||
|
ports:
|
||||||
|
- 8006:8006
|
||||||
|
- 3389:3389/tcp
|
||||||
|
- 3389:3389/udp
|
||||||
|
- 25565:25565
|
||||||
devices:
|
devices:
|
||||||
- /dev/kvm
|
- /dev/kvm
|
||||||
- /dev/net/tun
|
- /dev/net/tun
|
||||||
- /dev/vhost-net
|
|
||||||
device_cgroup_rules:
|
|
||||||
- 'c *:* rwm'
|
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
stop_grace_period: 2m
|
stop_grace_period: 2m
|
||||||
volumes:
|
volumes:
|
||||||
- /root/mcwin:/storage
|
- /root/mcwin:/storage
|
||||||
- /root/mc:/data
|
- /root/mc:/data
|
||||||
- /root/great_wall/file/kod_home/iso/windows/windowsServer2025.iso:/custom.iso
|
- /root/great_wall/file/kod_home/iso/windows/windowsServer2025.iso:/custom.iso
|
||||||
networks:
|
|
||||||
vlan:
|
|
||||||
ipv4_address: 192.168.2.123
|
|
||||||
|
|
||||||
networks:
|
|
||||||
vlan:
|
|
||||||
driver: macvlan
|
|
||||||
driver_opts:
|
|
||||||
parent: eno1 # 使用你的主要网络接口eno1
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 192.168.2.0/24 # 根据你的网络设置调整
|
|
||||||
gateway: 192.168.2.1 # 适当设置你的网关
|
|
Loading…
Reference in New Issue
Block a user