-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.devcontainer.json
62 lines (53 loc) · 2.4 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
"name": "Odoo Adhoc",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": ["docker-compose.yml"],
// 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": "odoo",
// 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
// "workspaceMount": "source=${localWorkspaceFolder}/sub-folder,target=/workspace,type=bind,consistency=cached",
"workspaceFolder": "/home/odoo/custom/repositories",
// "mounts": [
// {"source":"/home/odoo/custom/repositories","/repositories","type":"bind"},
// {"source":"/home/odoo/src/odoo","/odoo","type":"bind"},
// ],
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
"shutdownAction": "none",
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "cat /etc/os-release",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"ms-python.flake8",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-vscode-remote.remote-wsl",
// requiere login
// "tabnine.tabnine-vscode",
"formulahendry.auto-close-tag",
"hookyqr.beautify",
"usernamehw.errorlens",
"eamodio.gitlens",
"ionutvmi.path-autocomplete",
"ms-vsliveshare.vsliveshare",
"ms-vscode.sublime-keybindings",
"shardulm94.trailing-spaces",
"dotjoshjohnson.xml",
"redhat.vscode-yaml"
]
}
}
}