feat: Add custom .yml for Github Codespaces (#1486)

This commit is contained in:
Kroese 2025-10-15 21:54:52 +02:00 committed by GitHub
parent 70dce80aec
commit ab457abc3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 1 deletions

View File

@ -2,5 +2,5 @@
"name": "windows",
"service": "windows",
"forwardPorts": [8006],
"dockerComposeFile": "compose.yml"
"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