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

This commit is contained in:
Kroese 2025-10-15 11:53:22 +02:00 committed by GitHub
parent d3c2d44855
commit 2d21f714c3
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": "macos",
"service": "macos",
"forwardPorts": [8006],
"dockerComposeFile": "compose.yml"
"dockerComposeFile": ".github/codespaces.yml"
}

22
.github/codespaces.yml vendored Normal file
View 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