Skip to content

Commit 623afd7

Browse files
committed
use devcontainer:2-addons + mount supervisor volume
1 parent d8a9ff8 commit 623afd7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Emoncms addon devcontainer",
3-
"image": "ghcr.io/home-assistant/devcontainer:addons",
3+
"image": "ghcr.io/home-assistant/devcontainer:2-addons",
44
"appPort": ["7123:8123", "7357:4357"],
55
"postStartCommand": "bash devcontainer_bootstrap",
66
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
@@ -24,5 +24,8 @@
2424
}
2525
}
2626
},
27-
"mounts": [ "type=volume,target=/var/lib/docker" ]
27+
"mounts": [
28+
"type=volume,target=/var/lib/docker",
29+
"type=volume,target=/mnt/supervisor"
30+
]
2831
}

0 commit comments

Comments
 (0)