29 lines
679 B
JSON
29 lines
679 B
JSON
{
|
|
"name": "Umlaut Press (PHP 7.4 + Nginx)",
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
"context": ".."
|
|
},
|
|
"runArgs": [
|
|
"-v", "${localWorkspaceFolder}/src:/usr/share/nginx/html"
|
|
],
|
|
"forwardPorts": [80],
|
|
"portsAttributes": {
|
|
"80": {
|
|
"label": "Site (HTTP)",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"bmewburn.vscode-intelephense-client",
|
|
"xdebug.php-debug"
|
|
]
|
|
}
|
|
},
|
|
"postCreateCommand": "echo 'Dev container ready. Site will be at http://localhost when Nginx is running.'",
|
|
"postStartCommand": "/usr/local/sbin/php-fpm -D && nginx",
|
|
"remoteUser": "root"
|
|
}
|