mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-01 23:44:58 +08:00
feat: Improve Github Codespaces configuration (#1082)
This commit is contained in:
parent
399243886e
commit
8e2490e6bc
@ -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"
|
||||
|
||||
@ -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"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user