|
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
| 2 | +// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/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": "app", |
| 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 | + |
| 25 | + // Add the IDs of extensions you want installed when the container is created. |
| 26 | + "extensions": [] |
| 27 | + |
| 28 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 29 | + // "forwardPorts": [], |
| 30 | + |
| 31 | + // Uncomment the next line if you want start specific services in your Docker Compose config. |
| 32 | + // "runServices": [], |
| 33 | + |
| 34 | + // Uncomment the next line if you want to keep your containers running after VS Code shuts down. |
| 35 | + // "shutdownAction": "none", |
| 36 | + |
| 37 | + // Uncomment the next line to run commands after the container is created - for example installing curl. |
| 38 | + // "postCreateCommand": "apt-get update && apt-get install -y curl", |
| 39 | + |
| 40 | + // Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root. |
| 41 | + // "remoteUser": "vscode" |
| 42 | +} |
0 commit comments