27 lines
567 B
YAML
27 lines
567 B
YAML
services:
|
|
windows:
|
|
image: dockurr/windows
|
|
container_name: windows
|
|
restart: always
|
|
environment:
|
|
VERSION: "win11"
|
|
USERNAME: $USERNAME
|
|
PASSWORD: $PASSWORD
|
|
DISK_SIZE: $DISK_SIZE
|
|
RAM_SIZE: $RAM_SIZE
|
|
CPU_CORES: $CPU_CORES
|
|
LANGUAGE: $LANGUAGE
|
|
GPU: "Y"
|
|
devices:
|
|
- /dev/kvm
|
|
- /dev/dri
|
|
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 |