feat: Improve Github Codespaces configuration (#1082)

This commit is contained in:
Kroese 2025-10-19 10:40:03 +02:00 committed by GitHub
parent 399243886e
commit 8e2490e6bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 8 deletions

View File

@ -1,9 +1,8 @@
services:
dsm:
container_name: dsm
image: vdsm/virtual-dsm
image: ghcr.io/vdsm/virtual-dsm
environment:
ALLOCATE: "Y"
RAM_SIZE: "half"
DISK_SIZE: "max"
CPU_CORES: "max"

View File

@ -1,19 +1,16 @@
{
"name": "Virtual DSM",
"service": "dsm",
"containerEnv": {
"ALLOCATE": "Y"
},
"forwardPorts": [5000],
"service": "vdsm",
"portsAttributes": {
"5000": {
"label": "Web",
"onAutoForward": "openBrowser"
"onAutoForward": "notify"
}
},
"otherPortsAttributes": {
"onAutoForward": "ignore"
},
"dockerComposeFile": "codespaces.yml",
"workspaceFolder": "/workspaces/vdsm",
"initializeCommand": "docker system prune --all --force"
}