Files
go-telldus-matter/.devcontainer/devcontainer.json
2025-11-22 15:57:36 +00:00

33 lines
820 B
JSON

{
"name": "Go Telldus Matter Dev",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"workspaceFolder": "/workspaces/go-telldus-matter",
"runArgs": [
"--privileged"
],
"mounts": [
"source=/dev/bus/usb,target=/dev/bus/usb,type=bind",
"source=${localWorkspaceFolder}/tellstick.conf,target=/etc/tellstick.conf,type=bind"
],
"containerEnv": {
"MQTT_URL": "10.10.3.12:1883",
"MQTT_USER": "telldus-dev",
"MQTT_PASSWORD": ""
},
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.Go",
"ms-vscode.vscode-typescript-next"
],
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true
}
}
},
"postCreateCommand": "go mod download && cd frontend && npm install"
}