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

This commit is contained in:
Kroese 2025-10-15 11:39:36 +02:00 committed by GitHub
parent 48e7a9fff0
commit bc0defd813
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 1 deletions

View File

@ -2,5 +2,5 @@
"name": "dsm",
"service": "dsm",
"forwardPorts": [5000],
"dockerComposeFile": "compose.yml"
"dockerComposeFile": ".github/codespaces.yml"
}

19
.github/codespaces.yml vendored Normal file
View File

@ -0,0 +1,19 @@
services:
dsm:
container_name: dsm
image: vdsm/virtual-dsm
environment:
RAM_SIZE: "max"
DISK_SIZE: "max"
CPU_CORES: "max"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 5000:5000
volumes:
- ./dsm:/storage
restart: on-failure
stop_grace_period: 2m