mirror of
https://github.com/dockur/windows.git
synced 2025-10-26 19:05:49 +00:00
Compare commits
3 commits
70dce80aec
...
0b0de7de14
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b0de7de14 | ||
|
|
8472d700dc | ||
|
|
ab457abc3c |
2 changed files with 43 additions and 3 deletions
|
|
@ -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
22
.github/codespaces.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue