From 8e2490e6bcab0b2f99eb753de370c6d2dda3e2f1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 Oct 2025 10:40:03 +0200 Subject: [PATCH] feat: Improve Github Codespaces configuration (#1082) --- .devcontainer/codespaces.yml | 3 +-- .devcontainer/devcontainer.json | 9 +++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.devcontainer/codespaces.yml b/.devcontainer/codespaces.yml index 8220ae8..ca8bd8f 100644 --- a/.devcontainer/codespaces.yml +++ b/.devcontainer/codespaces.yml @@ -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" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7ab065a..d4e2e6c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" }