mirror of
				https://github.com/dockur/windows.git
				synced 2025-11-04 06:15:27 +00:00 
			
		
		
		
	Updated the Windows service configuration in codespaces.yml to use a new image and added environment variables for version, disk size, username, and password.
		
			
				
	
	
		
			23 lines
		
	
	
		
			430 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			430 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
services:
 | 
						|
  windows:
 | 
						|
    image: dockurr/windows
 | 
						|
    container_name: windows
 | 
						|
    environment:
 | 
						|
      VERSION: "10"
 | 
						|
      DISK_SIZE: "250G"
 | 
						|
      USERNAME: "Heather"
 | 
						|
      PASSWORD: "heather"
 | 
						|
    devices:
 | 
						|
      - /dev/kvm
 | 
						|
      - /dev/net/tun
 | 
						|
    cap_add:
 | 
						|
      - NET_ADMIN
 | 
						|
    ports:
 | 
						|
      - 8006:8006
 | 
						|
      - 3389:3389/tcp
 | 
						|
      - 3389:3389/udp
 | 
						|
    volumes:
 | 
						|
      - ./windows:/storage
 | 
						|
    restart: always
 | 
						|
    stop_grace_period: 2m
 |