forked from graphprotocol/graph-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
42 lines (40 loc) · 1.12 KB
/
Copy pathdevcontainer.json
File metadata and controls
42 lines (40 loc) · 1.12 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
{
"name": "Rust",
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.66.0"
}
},
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer@prerelease", // rust analyser, pre-release has less bugs
"cschleiden.vscode-github-actions", // github actions
"serayuzgur.crates", // crates
"vadimcn.vscode-lldb" //debug
],
"settings": {
"editor.formatOnSave": true,
"terminal.integrated.defaultProfile.linux": "zsh"
}
}
},
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
// "mounts": [
// {
// "source": "devcontainer-cargo-cache-${devcontainerId}",
// "target": "/usr/local/cargo",
// "type": "volume"
// }
// ]
"forwardPorts": [
8000, // GraphiQL on node-port
8020, // create and deploy subgraphs
5001 //ipfs
]
}