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: services:
dsm: dsm:
container_name: dsm container_name: dsm
image: vdsm/virtual-dsm image: ghcr.io/vdsm/virtual-dsm
environment: environment:
ALLOCATE: "Y"
RAM_SIZE: "half" RAM_SIZE: "half"
DISK_SIZE: "max" DISK_SIZE: "max"
CPU_CORES: "max" CPU_CORES: "max"

View File

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