From f27d86a6f9647218777c3ee03a4cbbdf6c0f5d49 Mon Sep 17 00:00:00 2001 From: 474791-dev <474791@eriesd.org> Date: Tue, 16 Dec 2025 09:58:39 -0500 Subject: [PATCH] Refactor Docker Compose configuration for clarity Updated hostname and environment variables for clarity, added resource limits and volume configuration. --- compose.yml | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/compose.yml b/compose.yml index 5a822ca..63fea1d 100644 --- a/compose.yml +++ b/compose.yml @@ -2,13 +2,14 @@ services: windows: image: dockurr/windows container_name: windows + hostname: win2025 # Changed hostname for clarity environment: - VERSION: "2025" - DISK_SIZE: "2TB" + VERSION: "2025" # Changed from "11" to "2025" + USERNAME: "admin" + PASSWORD: "StrongPassword123!" devices: - /dev/kvm - /dev/net/tun - - /dev/dri cap_add: - NET_ADMIN ports: @@ -16,9 +17,23 @@ services: - 3389:3389/tcp - 3389:3389/udp volumes: - - ./windows:/storage - - /run/user/1000/pulse:/run/user/1000/pulse - environment: - PULSE_SERVER: unix:/run/user/1000/pulse/native + - windows_data:/storage restart: always stop_grace_period: 2m + deploy: + resources: + limits: + cpus: "4" + memory: "89GB" + reservations: + cpus: "2" + memory: "456GB" + +volumes: + windows_data: + driver: local + driver_opts: + type: none + o: bind + device: ./windows + size: "1T" # 1 terabyte quota