Updated example for Prometheus, updated Go modules, and tweaked the devcontainer.

This commit is contained in:
James Wells 2022-04-14 18:01:20 +00:00
parent 31c6551cce
commit 8fea3b2527
Signed by: jwells
GPG key ID: 73196D10B8E65666
6 changed files with 57 additions and 27 deletions

View file

@ -33,13 +33,22 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [9000],
"forwardPorts": [9101, 35570, 35571, 35572],
// Use 'portsAttributes' to set default properties for specific forwarded ports. More info: https://code.visualstudio.com/docs/remote/devcontainerjson-reference.
"portsAttributes": {
"9000": {
"label": "Hello Remote World",
"onAutoForward": "notify"
}
"9101": {
"label": "Prometheus",
},
"35570": {
"label": "Router To Router",
},
"35571": {
"label": "Worker To Router",
},
"35572": {
"label": "Client To Router",
},
},
// Use 'otherPortsAttributes' to configure any ports that aren't configured using 'portsAttributes'.