From 89784904a7e82e1650478b262ce419dfc3922c08 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 2 Nov 2024 11:54:17 +0800 Subject: [PATCH] update --- .env | 7 +++++++ docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .env create mode 100644 docker-compose.yml diff --git a/.env b/.env new file mode 100644 index 0000000..3fcdfad --- /dev/null +++ b/.env @@ -0,0 +1,7 @@ +DISK_SIZE=128G +CHAT_PATH=/root/chat +RAM_SIZE=8G +CPU_CORES=4 +USERNAME=Zengtudor +PASSWORD=Zengtudor20080607 +LANGUAGE=Chinese \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3c91f6c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +services: + windows: + image: dockurr/windows + container_name: windows + environment: + VERSION: "win11" + 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 \ No newline at end of file