From 2f8d27ccadf4ff7b9fa832658fd93216ac651b6f Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Thu, 8 Aug 2024 13:23:30 +0200 Subject: [PATCH] Add some tweaks to dockur --- compose.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/compose.yaml b/compose.yaml index 81b4b81..24f263f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -14,13 +14,13 @@ services: # Version of Windows to configure. For valid options, visit: # https://github.com/dockur/windows?tab=readme-ov-file#how-do-i-select-the-windows-version # https://github.com/dockur/windows?tab=readme-ov-file#how-do-i-install-a-custom-image - VERSION: "11" - RAM_SIZE: "4G" # RAM allocated to the Windows VM. + VERSION: "tiny11" + RAM_SIZE: "8G" # RAM allocated to the Windows VM. CPU_CORES: "4" # CPU cores allocated to the Windows VM. - DISK_SIZE: "64G" # Size of the primary hard disk. + DISK_SIZE: "128G" # Size of the primary hard disk. #DISK2_SIZE: "32G" # Uncomment to add an additional hard disk to the Windows VM. Ensure it is mounted as a volume below. - USERNAME: "MyWindowsUser" # Edit here to set a custom Windows username. The default is 'MyWindowsUser'. - PASSWORD: "MyWindowsPassword" # Edit here to set a password for the Windows user. The default is 'MyWindowsPassword'. + USERNAME: "felix" # Uncomment to set a custom Windows username. The default is 'Docker'. + #PASSWORD: "" # Uncomment to set a password for the Windows user. There is no default password. HOME: "${HOME}" # Set path to Linux user home folder. ports: - 8006:8006 # Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006. @@ -39,5 +39,6 @@ services: devices: - /dev/kvm # Enable KVM. - /dev/net/tun # Enable tuntap - #- /dev/sdX:/disk1 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk1' will be mounted as the main drive. THIS DISK WILL BE FORMATTED BY DOCKER). - #- /dev/sdY:/disk2 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk2' and higher will be mounted as secondary drives. THIS DISK WILL NOT BE FORMATTED). + - /dev/bus/usb + #- /dev/sdX:/disk1 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk1' will be mounted as the main drive). + #- /dev/sdY:/disk2 # Uncomment to mount a disk directly within the Windows VM (Note: 'disk2' and higher will be mounted as secondary drives).