mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-01-02 11:40:59 +08:00
feat: Improve Github Codespaces configuration (#1082)
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user