joshuar-go-hass-agent/.devcontainer/devcontainer.json

33 lines
1.0 KiB
JSON

{
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"shutdownAction": "stopCompose",
"containerUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/go:1": {},
"ghcr.io/devcontainers/features/python:1": {},
},
"postCreateCommand": ".devcontainer/postCreate.sh",
"remoteEnv": {
"DISPLAY": "${localEnv:DISPLAY}"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"customizations": {
"vscode": {
"extensions": [
"vivaxy.vscode-conventional-commits",
"brunodavi.conventional-snippets",
"golang.go",
"premparihar.gotestexplorer",
"ymotongpoo.licenser",
"esbenp.prettier-vscode",
"aaron-bond.better-comments",
"valentjn.vscode-ltex",
"eamodio.gitlens"
]
}
}
}