1
|
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
2
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.117.0/containers/docker-existing-docker-compose
|
3
|
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
|
4
|
{
|
5
|
"name": "Existing Docker Compose (Extend)",
|
6
|
|
7
|
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
|
8
|
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
|
9
|
"dockerComposeFile": [
|
10
|
"..\\docker-compose-dev.yml",
|
11
|
"docker-compose.yml"
|
12
|
],
|
13
|
|
14
|
// The 'service' property is the name of the service for the container that VS Code should
|
15
|
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
|
16
|
"service": "php-fpm",
|
17
|
|
18
|
// The optional 'workspaceFolder' property is the path VS Code should open by default when
|
19
|
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
|
20
|
"workspaceFolder": "/workspace",
|
21
|
|
22
|
// Set *default* container specific settings.json values on container create.
|
23
|
"settings": {
|
24
|
"terminal.integrated.shell.linux": null
|
25
|
},
|
26
|
|
27
|
// Add the IDs of extensions you want installed when the container is created.
|
28
|
"extensions": []
|
29
|
|
30
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
31
|
// "forwardPorts": [],
|
32
|
|
33
|
// Uncomment the next line if you want start specific services in your Docker Compose config.
|
34
|
// "runServices": [],
|
35
|
|
36
|
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
|
37
|
// "shutdownAction": "none",
|
38
|
|
39
|
// Uncomment the next line to run commands after the container is created - for example installing git.
|
40
|
// "postCreateCommand": "apt-get update && apt-get install -y git",
|
41
|
|
42
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
43
|
// "remoteUser": "vscode"
|
44
|
}
|