2024-11-02 13:08:38 +00:00
|
|
|
services:
|
|
|
|
windows:
|
|
|
|
image: dockurr/windows
|
|
|
|
container_name: windows
|
2024-11-22 00:33:25 +00:00
|
|
|
restart: always
|
2024-11-02 13:08:38 +00:00
|
|
|
environment:
|
|
|
|
VERSION: "win11"
|
|
|
|
USERNAME: $USERNAME
|
|
|
|
PASSWORD: $PASSWORD
|
|
|
|
DISK_SIZE: $DISK_SIZE
|
|
|
|
RAM_SIZE: $RAM_SIZE
|
|
|
|
CPU_CORES: $CPU_CORES
|
|
|
|
LANGUAGE: $LANGUAGE
|
2024-11-22 03:01:05 +00:00
|
|
|
GPU: "Y"
|
2024-11-22 03:09:20 +00:00
|
|
|
https_proxy: $https_proxy
|
|
|
|
http_proxy: $http_proxy
|
2024-11-22 03:26:31 +00:00
|
|
|
ARGUMENTS: "-cpu host"
|
2024-11-02 13:08:38 +00:00
|
|
|
devices:
|
|
|
|
- /dev/kvm
|
2024-11-22 03:01:05 +00:00
|
|
|
- /dev/dri
|
2024-11-02 13:08:38 +00:00
|
|
|
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
|