mirror of
https://github.com/supanadit/todo.git
synced 2025-05-05 04:49:56 +00:00
33 lines
902 B
JSON
33 lines
902 B
JSON
// For format details, see https://aka.m s/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/php
|
|
{
|
|
"name": "PHP",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/git:1": {}
|
|
},
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
// Configure properties specific to VS Code.
|
|
"vscode": {
|
|
"settings": {},
|
|
"extensions": [
|
|
"GitHub.copilot",
|
|
"xdebug.php-pack"
|
|
]
|
|
}
|
|
},
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [
|
|
8000
|
|
],
|
|
"postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html",
|
|
"portsAttributes": {
|
|
"8000": {
|
|
"label": "PHP Artisan Serve",
|
|
"onAutoForward": "notify"
|
|
}
|
|
}
|
|
} |