Compare commits

...

3 commits

2 changed files with 43 additions and 3 deletions

View file

@ -1,6 +1,24 @@
{
"name": "windows",
"name": "Windows 11 Pro",
"service": "windows",
"forwardPorts": [8006],
"dockerComposeFile": "compose.yml"
"containerEnv": {
"VERSION": "11",
"RAM_SIZE": "max",
"DISK_SIZE": "max",
"CPU_CORES": "max"
},
"forwardPorts": [8006],
"portsAttributes": {
"8006": {
"label": "Web",
"onAutoForward": "openBrowser"
}
},
"otherPortsAttributes": {
"onAutoForward": "silent"
},
"hostRequirements": {
"storage": "64gb"
},
"dockerComposeFile": ".github/codespaces.yml"
}

22
.github/codespaces.yml vendored Normal file
View file

@ -0,0 +1,22 @@
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "11"
RAM_SIZE: "max"
DISK_SIZE: "max"
CPU_CORES: "max"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
volumes:
- ./windows:/storage
restart: on-failure
stop_grace_period: 2m