mirror of
https://github.com/dockur/macos.git
synced 2026-03-11 08:34:24 +00:00
feat: Add custom .yml for Github Codespaces (#342)
This commit is contained in:
parent
d3c2d44855
commit
2d21f714c3
2 changed files with 23 additions and 1 deletions
|
|
@ -2,5 +2,5 @@
|
|||
"name": "macos",
|
||||
"service": "macos",
|
||||
"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:
|
||||
macos:
|
||||
image: dockurr/macos
|
||||
container_name: macos
|
||||
environment:
|
||||
VERSION: "14"
|
||||
RAM_SIZE: "max"
|
||||
DISK_SIZE: "max"
|
||||
CPU_CORES: "max"
|
||||
devices:
|
||||
- /dev/kvm
|
||||
- /dev/net/tun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
ports:
|
||||
- 8006:8006
|
||||
- 5900:5900/tcp
|
||||
- 5900:5900/udp
|
||||
volumes:
|
||||
- ./macos:/storage
|
||||
restart: on-failure
|
||||
stop_grace_period: 2m
|
||||
Loading…
Reference in a new issue