-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.devcontainer.json
56 lines (56 loc) · 1.5 KB
/
.devcontainer.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "hacs/addons",
"image": "ghcr.io/home-assistant/devcontainer:addons",
"forwardPorts": [
8123,
4357
],
"portsAttributes": {
"4357": {
"label": "Home Assistant Observer"
},
"8123": {
"label": "Home Assistant UI"
}
},
"postStartCommand": "bash script/setup",
"remoteUser": "root",
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"mounts": [
{
"source": "hacs-addon-dind-var-lib-docker",
"target": "/var/lib/docker",
"type": "volume"
},
{
"source": "hacs-addon-supervisor-data",
"target": "/supervisor_data",
"type": "volume"
}
],
"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
}
}
},
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
}
}