mirror of
https://github.com/lildude/ha-addon-teslamate.git
synced 2026-10-13 21:19:16 -04:00
Add Ingress Support (#1)
* 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>
This commit is contained in:
co-authored by
Matt White
parent
0a82b9eba8
commit
d544873055
@@ -0,0 +1,29 @@
|
||||
// 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"
|
||||
// ]
|
||||
}
|
||||
Reference in New Issue
Block a user