mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "HA Addon: TeslaMate",
|
|
"image": "ghcr.io/home-assistant/devcontainer:6-apps",
|
|
"overrideCommand": false,
|
|
"remoteUser": "vscode",
|
|
"appPort": ["7123:8123", "7180:80", "7357:4357"],
|
|
"postStartCommand": "bash devcontainer_bootstrap",
|
|
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
|
"workspaceFolder": "/mnt/supervisor/addons/local/${localWorkspaceFolderBasename}",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind,consistency=cached",
|
|
"containerEnv": {
|
|
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}",
|
|
"SUPERVISOR_CHANNEL": "stable"
|
|
},
|
|
"features": {
|
|
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {},
|
|
"ghcr.io/jungaretti/features/ripgrep:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"timonwong.shellcheck",
|
|
"esbenp.prettier-vscode"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.profiles.linux": {
|
|
"zsh": {
|
|
"path": "/usr/bin/zsh"
|
|
}
|
|
},
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"files.trimTrailingWhitespace": true
|
|
}
|
|
}
|
|
},
|
|
"mounts": [
|
|
"type=volume,target=/var/lib/docker",
|
|
"type=volume,target=/var/lib/containerd",
|
|
"type=volume,target=/mnt/supervisor",
|
|
]
|
|
} |