Update devcontainer config (#78)

This commit is contained in:
Colin Seymour
2025-03-19 11:27:08 +00:00
committed by GitHub
parent 04eb3228bd
commit 48cc287c98
+7 -4
View File
@@ -1,8 +1,8 @@
{ {
"name": "HA Addon: TeslaMate", "name": "HA Addon: TeslaMate",
"image": "ghcr.io/home-assistant/devcontainer:addons", "image": "ghcr.io/home-assistant/devcontainer:2-addons",
"appPort": ["7123:8123", "7357:4357"], "appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "sudo sed -i 's/export SUPERVISOR_VERSION=.*/export SUPERVISOR_VERSION=2024.03.1.dev1803/' /etc/supervisor_scripts/common && bash devcontainer_bootstrap", // Workaround until https://github.com/home-assistant/supervisor/issues/5021 is fixed" "postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"], "runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"containerEnv": { "containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}" "WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
@@ -27,5 +27,8 @@
} }
} }
}, },
"mounts": ["type=volume,target=/var/lib/docker"] "mounts": [
} "type=volume,target=/var/lib/docker",
"type=volume,target=/mnt/supervisor"
]
}