-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
57 lines (57 loc) · 1.9 KB
/
devcontainer.json
File metadata and controls
57 lines (57 loc) · 1.9 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "App",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"dockerComposeFile": [
"../docker-compose.yml"
],
"service": "app", // Must match with docker-compose.yml service name
"workspaceFolder": "/workspace",
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {
"dev.containers.copyGitConfig": true,
"roo-cline.customStoragePath": "/workspace/app/",
"remote.localPortHost": "allInterfaces"
},
"extensions": [
"streetsidesoftware.code-spell-checker",
"ms-azuretools.vscode-docker",
"nefrob.vscode-just-syntax",
"redhat.vscode-yaml",
"Nuxt.mdc",
"shd101wyy.markdown-preview-enhanced",
"github.vscode-github-actions",
"bierner.markdown-mermaid"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
4096
],
// Use 'portsAttributes' to set default properties for specific forwarded ports.
// More info: https://containers.dev/implementors/json_reference/#port-attributes
"portsAttributes": {
"4096": {
"label": "OpenCode API server",
"onAutoForward": "notify"
}
},
"containerEnv": {
// // Use this block for mitmproxy , #mitmproxy
// "NODE_EXTRA_CA_CERTS": "/etc/ssl/certs/ca-certificates.crt",
// "SSL_CERT_FILE": "/etc/ssl/certs/ca-certificates.crt",
// "REQUESTS_CA_BUNDLE": "/etc/ssl/certs/ca-certificates.crt",
"SHELL": "/usr/bin/zsh",
"HOST_PROJECT_PATH": "${localWorkspaceFolder}",
"CODESPACES": "true"
}
}