Depends on https://github.com/blakeblackshear/frigate-hass-integration/pull/884.
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
|
|
{
|
|
"dockerComposeFile": "../docker-compose.yml",
|
|
"service": "devcontainer",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
|
|
"moby": false
|
|
}
|
|
},
|
|
"updateRemoteUserUID": true,
|
|
"workspaceFolder": "${localWorkspaceFolder}",
|
|
"initializeCommand": [".devcontainer/scripts/devcontainer_initialize.sh"],
|
|
"postCreateCommand": ["yarn", "install"],
|
|
"forwardPorts": [10001, "homeassistant:8123", "frigate:5000"],
|
|
"portsAttributes": {
|
|
"10001": {
|
|
"label": "Rollup",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"homeassistant:8123": {
|
|
"label": "Home Assistant",
|
|
"onAutoForward": "silent"
|
|
},
|
|
"frigate:5000": {
|
|
"label": "Frigate",
|
|
"onAutoForward": "silent"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"dbaeumer.vscode-eslint",
|
|
"esbenp.prettier-vscode",
|
|
"runem.lit-plugin",
|
|
"davidanson.vscode-markdownlint",
|
|
"redhat.vscode-yaml",
|
|
"vitest.explorer",
|
|
"inlang.vs-code-extension",
|
|
"YoavBls.pretty-ts-errors",
|
|
"github.vscode-pull-request-github",
|
|
"github.vscode-github-actions",
|
|
"ms-azuretools.vscode-docker"
|
|
],
|
|
"settings": {
|
|
"task.allowAutomaticTasks": "on",
|
|
"files.eol": "\n",
|
|
"editor.tabSize": 2,
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"[json][jsonc][yaml][markdown][typescript][javascript]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|