mirror of
https://github.com/adrianjagielak/home-assistant-futurehome.git
synced 2025-09-13 15:47:08 +00:00
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"name": "Example devcontainer for add-on repositories",
|
|
"image": "ghcr.io/home-assistant/devcontainer:2-addons",
|
|
"appPort": ["7123:8123", "7357:4357"],
|
|
"postStartCommand": "bash devcontainer_bootstrap",
|
|
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
|
"containerEnv": {
|
|
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
|
|
},
|
|
"workspaceFolder": "/mnt/supervisor/addons/local/${localWorkspaceFolderBasename}",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind,consistency=cached",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["timonwong.shellcheck", "esbenp.prettier-vscode"],
|
|
"settings": {
|
|
"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
|
|
}
|
|
}
|
|
},
|
|
"mounts": [
|
|
"type=volume,target=/var/lib/docker",
|
|
"type=volume,target=/mnt/supervisor"
|
|
]
|
|
}
|