-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathdevcontainer.json
More file actions
43 lines (38 loc) · 1.07 KB
/
devcontainer.json
File metadata and controls
43 lines (38 loc) · 1.07 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
39
40
41
42
43
{
"name": "Memcode Development",
"dockerComposeFile": "../docker-compose.yml",
"service": "app",
"workspaceFolder": "/app",
// Configure tool-specific properties
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint"
],
"settings": {
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
}
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally
"forwardPorts": [3000, 5432, 9229],
"portsAttributes": {
"3000": {
"label": "Memcode App",
"onAutoForward": "openBrowser"
},
"5432": {
"label": "PostgreSQL Database"
},
"9229": {
"label": "Debug Port",
"protocol": "debug"
}
},
// Use 'postCreateCommand' to run commands after the container is created
"postCreateCommand": "chmod +x docker-setup.sh && ./docker-setup.sh setup && ./docker-setup.sh start-bg",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root
"remoteUser": "node"
}