30 lines
658 B
YAML
30 lines
658 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"
|
|
https_proxy: $https_proxy
|
|
http_proxy: $http_proxy
|
|
ARGUMENTS: "-cpu host"
|
|
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 |