rxr_windows/docker-compose.yml
2024-11-02 12:12:08 +08:00

24 lines
515 B
YAML

services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "win11"
USERNAME: $USERNAME
PASSWORD: $PASSWORD
DISK_SIZE: $DISK_SIZE
RAM_SIZE: $RAM_SIZE
CPU_CORES: $CPU_CORES
LANGUAGE: $LANGUAGE
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
volumes:
- $CHAT_PATH/storage:/storage
- $CHAT_PATH/share:/data