-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
55 lines (45 loc) · 1.82 KB
/
devcontainer.json
File metadata and controls
55 lines (45 loc) · 1.82 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/docker-existing-docker-compose
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
{
"name": "Tridoc Backend Development",
// Use the independent dev container docker-compose configuration
"dockerComposeFile": "docker-compose.yml",
"containerEnv": {
"TRIDOC_PWD": "pw123",
"OCR_LANG": "deu"
},
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "tridoc",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/usr/src/app",
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8000, 8001],
// Start the fuseki service when the dev container starts
"runServices": ["fuseki"],
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
"shutdownAction": "stopCompose",
// Post-create command to set up the development environment
"postCreateCommand": "bash .devcontainer/setup-dev.sh",
// Connect as the deno user
"remoteUser": "deno",
"customizations": {
"vscode": {
"extensions": [
"denoland.vscode-deno"
],
"settings": {
"deno.enable": true,
"deno.lint": true,
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
}
}
}
}
}