-
Notifications
You must be signed in to change notification settings - Fork 8
/
devcontainer.json
91 lines (91 loc) · 2.09 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "otel-getting-started",
"workspaceFolder": "/workspaces/opentelemetry-training/exercises",
"image": "ghcr.io/novatecconsulting/opentelemetry-training-application:latest",
"overrideCommand": false,
"runArgs": [
"--privileged"
],
"forwardPorts": [
5000,
5001,
5432,
8080,
8090,
9090,
16686
],
"containerEnv": {
"SHELL": "/bin/bash",
"EXERCISES": "/workspaces/opentelemetry-training/exercises"
},
"portsAttributes": {
"5000": {
"label": "Python Flask app"
},
"5001": {
"label": "Python Flask app"
},
"8080": {
"label": "Spring Boot Backend app"
},
"8090": {
"label": "Spring Boot Thymeleaf app"
},
"9090": {
"label": "Prometheus UI"
},
"16686": {
"label": "Jaeger UI"
},
"5432": {
"label": "Postgres DB"
}
},
"customizations": {
"vscode": {
"settings": {
"files.autoSave": "afterDelay",
"[python]": {
"editor.formatOnSave": true
},
"[dockercompose][yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2
},
"[adoc][markdown]": {
"editor.defaultFormatter": "vscode.markdown-language-features",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2
},
"[dockerfile]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
},
"python.analysis.typeCheckingMode": "strict",
"python.analysis.autoImportCompletions": true
},
"extensions": [
"vscjava.vscode-java-pack",
"vscjava.vscode-java-dependency",
"ms-python.vscode-pylance",
"charliermarsh.ruff",
"ms-python.isort",
"ms-python.python",
"njpwerner.autodocstring",
"KevinRose.vsc-python-indent",
"ms-python.black-formatter",
"usernamehw.errorlens",
"redhat.vscode-yaml",
"ms-azuretools.vscode-docker"
]
}
}
}