mirror of
https://github.com/dockur/windows.git
synced 2025-10-16 04:52:21 +00:00
feat: Add custom .yml for Github Codespaces (#1486)
This commit is contained in:
parent
70dce80aec
commit
ab457abc3c
@ -2,5 +2,5 @@
|
||||
"name": "windows",
|
||||
"service": "windows",
|
||||
"forwardPorts": [8006],
|
||||
"dockerComposeFile": "compose.yml"
|
||||
"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…
Reference in New Issue
Block a user