-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.devcontainer.json
More file actions
38 lines (38 loc) · 1.08 KB
/
.devcontainer.json
File metadata and controls
38 lines (38 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "Example Home Assistant add-on Codespace",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"features": {
"ghcr.io/devcontainers/features/python:1": {}
},
"appPort": ["7123:8123", "7357:4357"],
"postStartCommand": "bash devcontainer_bootstrap",
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
"remoteUser":"root",
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"mounts": ["type=volume,target=/var/lib/docker"],
"customizations": {
"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
},
"extensions": [
"timonwong.shellcheck",
"esbenp.prettier-vscode",
"ms-python.python",
"GitHub.copilot",
"GitHub.vscode-github-actions"
]
}
}
}