2022-11-10 09:53:02 +01:00
|
|
|
{
|
|
|
|
"name": "ESPHome Home Assistant add-on devcontainer",
|
|
|
|
"image": "ghcr.io/esphome/devcontainer:addons",
|
|
|
|
"appPort": [
|
|
|
|
"7123:8123",
|
|
|
|
"7357:4357"
|
|
|
|
],
|
|
|
|
"postStartCommand": "bash devcontainer_bootstrap",
|
|
|
|
"runArgs": [
|
|
|
|
"-e",
|
|
|
|
"GIT_EDITOR=code --wait",
|
|
|
|
"--privileged"
|
|
|
|
],
|
|
|
|
"containerEnv": {
|
|
|
|
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
|
|
|
|
},
|
2023-09-11 02:25:16 +02:00
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"extensions": [
|
|
|
|
"timonwong.shellcheck",
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"ms-python.python"
|
|
|
|
],
|
|
|
|
"mounts": [
|
|
|
|
"type=volume,target=/var/lib/docker"
|
|
|
|
],
|
|
|
|
"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
|
2022-11-10 09:53:02 +01:00
|
|
|
}
|
2023-09-11 02:25:16 +02:00
|
|
|
}
|
2022-11-10 09:53:02 +01:00
|
|
|
}
|
|
|
|
}
|