Files
addons/.devcontainer/devcontainer.json
Joakim Sørensen 0b3c815eba Simplify devcontainer setup (#1687)
* Simplify devcontainer setup

* Add stable shellcheck

* Fix observer port
2020-11-23 13:18:40 +01:00

17 lines
442 B
JSON

// Based on https://github.com/issacg/hassio-addon-devcontainer
{
"name": "Home Assistant Add-Ons",
"context": "..",
"dockerFile": "Dockerfile",
"appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "service docker start",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"extensions": [
"timonwong.shellcheck",
"esbenp.prettier-vscode"
],
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
}
}