mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-22 16:51:51 +02:00
update devcontainer
This commit is contained in:
@@ -2,27 +2,27 @@
|
|||||||
"name": "Example devcontainer for add-on repositories",
|
"name": "Example devcontainer for add-on repositories",
|
||||||
"image": "ghcr.io/home-assistant/devcontainer:addons",
|
"image": "ghcr.io/home-assistant/devcontainer:addons",
|
||||||
"appPort": ["7123:8123", "7357:4357"],
|
"appPort": ["7123:8123", "7357:4357"],
|
||||||
"postStartCommand": "bash devcontainer_bootstrap",
|
"postStartCommand": "sudo -E 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}"
|
||||||
},
|
},
|
||||||
"extensions": [
|
"customizations": {
|
||||||
"timonwong.shellcheck",
|
"vscode": {
|
||||||
"esbenp.prettier-vscode",
|
"extensions": ["timonwong.shellcheck", "esbenp.prettier-vscode"],
|
||||||
"ms-vscode-remote.remote-containers"
|
"settings": {
|
||||||
],
|
"terminal.integrated.profiles.linux": {
|
||||||
"mounts": [ "type=volume,target=/var/lib/docker" ],
|
"zsh": {
|
||||||
"settings": {
|
"path": "/usr/bin/zsh"
|
||||||
"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
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
},
|
||||||
"editor.formatOnPaste": false,
|
"mounts": [ "type=volume,target=/var/lib/docker" ]
|
||||||
"editor.formatOnSave": true,
|
|
||||||
"editor.formatOnType": true,
|
|
||||||
"files.trimTrailingWhitespace": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@@ -4,7 +4,7 @@
|
|||||||
{
|
{
|
||||||
"label": "Start Home Assistant",
|
"label": "Start Home Assistant",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "supervisor_run",
|
"command": "sudo chmod a+x /usr/bin/supervisor* && sudo -E supervisor_run",
|
||||||
"group": {
|
"group": {
|
||||||
"kind": "test",
|
"kind": "test",
|
||||||
"isDefault": true
|
"isDefault": true
|
||||||
@@ -16,4 +16,4 @@
|
|||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user