Files
php/.devcontainer/devcontainer.json

39 lines
1.3 KiB
JSON
Raw Normal View History

// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/php
2019-05-01 07:53:21 -07:00
{
"name": "PHP",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
2024-06-06 19:49:25 +00:00
"image": "mcr.microsoft.com/devcontainers/php:1-8.3",
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
2022-05-17 12:42:03 -07:00
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {},
2022-05-17 12:42:03 -07:00
"extensions": [
"streetsidesoftware.code-spell-checker"
2022-05-17 12:42:03 -07:00
]
}
2019-12-11 15:47:41 +00:00
},
2020-07-28 00:24:35 +00:00
2020-04-09 00:54:44 +00:00
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [8000],
2019-12-11 15:47:41 +00:00
2021-04-19 12:36:31 -07:00
// Use 'portsAttributes' to set default properties for specific forwarded ports. More info: https://code.visualstudio.com/docs/remote/devcontainerjson-reference.
2021-03-16 16:19:56 +00:00
"portsAttributes": {
"8000": {
"label": "Hello Remote World",
"onAutoForward": "notify"
}
}
2021-04-16 13:47:43 -07:00
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
2019-12-11 15:47:41 +00:00
}