mirror of
https://github.com/aljazceru/addons.git
synced 2026-02-01 03:05:49 +01:00
* Add devcontainer (generic add-on devcontainer also available at https://github.com/issacg/hassio-addon-devcontainer) * remove example code (https://github.com/home-assistant/hassio-addons/pull/1040#discussion_r374373037) * Run start_hassio.sh from inside .devcontainer (https://github.com/home-assistant/hassio-addons/pull/1040#discussion_r374373323)
18 lines
499 B
JSON
18 lines
499 B
JSON
// Based on https://github.com/issacg/hassio-addon-devcontainer
|
|
{
|
|
"name": "Hass.io Community Add-Ons",
|
|
"context": "..",
|
|
"dockerFile": "Dockerfile",
|
|
"appPort": 8123,
|
|
"runArgs": [
|
|
"-e",
|
|
"GIT_EDITOR=code --wait",
|
|
"--privileged"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/bash"
|
|
},
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/test_hassio/addons/local,type=bind,consistency=delegated",
|
|
"workspaceFolder": "/workspaces/test_hassio/addons/local"
|
|
}
|