mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-28 09:44:20 +01:00
51 lines
2.1 KiB
JSON
51 lines
2.1 KiB
JSON
// 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.177.0/containers/docker-existing-docker-compose
|
|
// If you want to run as a non-root user in the container, see .devcontainer/docker-compose.yml.
|
|
{
|
|
"name": "CraftBeerPi4",
|
|
|
|
// 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.dev.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": "craftbeerpi4-development",
|
|
|
|
// 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": "/workspace",
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
//"terminal.integrated.shell.linux": null
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-azuretools.vscode-docker",
|
|
"editorconfig.editorconfig",
|
|
"eamodio.gitlens"
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [
|
|
"craftbeerpi4-development:8000",
|
|
"mqtt-explorer:4000"
|
|
],
|
|
|
|
// 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": "stopCompose",
|
|
|
|
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
|
//"postCreateCommand": "pip3 install -r ./requirements.txt",
|
|
|
|
// Uncomment to connect as a non-root user if you've added one. See https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode"
|
|
}
|