mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 13:10:30 -04:00
* Add ingress support * Development framework * Add ARCH arg for correct s6 version * Support new ARCH arg for correct s6 overlay version * Add PR trigger to workflow * Add image again Co-authored-by: Matt White <matt.white@microsoft.com>
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
|
|
// TODO: When https://github.com/microsoft/vscode-remote-release/issues/2129 is fixed, move to ${localWorkspaceFolderBasename}\
|
|
{
|
|
"name": "Home Assistant Add-On",
|
|
"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/myaddon,type=bind,consistency=delegated",
|
|
"workspaceFolder": "/workspaces/test_hassio/addons/local/myaddon",
|
|
"mounts": [
|
|
// Cache docker images between devcontainer rebuilds (and share between devcontainers)
|
|
"source=vsc-hassio-docker,target=/var/lib/docker,type=volume"
|
|
]
|
|
|
|
// Post-create command to initialize the workspace. For example, for a node.js add-on you may want:
|
|
// "postCreateCommand": "cd /workspaces/test_hassio/addons/local/myaddon && npm install",
|
|
// "extensions": [
|
|
// "dbaeumer.vscode-eslint",
|
|
// "maty.vscode-mocha-sidebar"
|
|
// ]
|
|
}
|