2023-03-07 19:10:36 +03:00
|
|
|
{
|
|
|
|
"name": "rss-bridge dev",
|
|
|
|
"build": { "dockerfile": "Dockerfile" },
|
|
|
|
"customizations": {
|
|
|
|
// Configure properties specific to VS Code.
|
|
|
|
"vscode": {
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
|
|
"settings": {
|
2023-03-08 20:39:50 +03:00
|
|
|
"php.validate.executablePath": "/usr/local/bin/php",
|
|
|
|
"phpSniffer.executablesFolder": "/usr/local/bin/",
|
|
|
|
"phpcs.executablePath": "/usr/local/bin/phpcs",
|
|
|
|
"phpcs.lintOnType": false
|
2023-03-07 19:10:36 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
"extensions": [
|
|
|
|
"xdebug.php-debug",
|
|
|
|
"bmewburn.vscode-intelephense-client",
|
|
|
|
"philfontaine.autolaunch",
|
2023-03-08 20:39:50 +03:00
|
|
|
"eamodio.gitlens",
|
|
|
|
"shevaua.phpcs"
|
2023-03-07 19:10:36 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"forwardPorts": [3100, 9000, 9003],
|
|
|
|
"postCreateCommand": "cp .devcontainer/nginx.conf /etc/nginx/conf.d/default.conf && cp .devcontainer/xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini && mkdir .vscode && cp .devcontainer/launch.json .vscode && echo '*' > whitelist.txt && chmod a+x \"$(pwd)\" && rm -rf /var/www/html && ln -s \"$(pwd)\" /var/www/html && nginx && php-fpm -D"
|
|
|
|
}
|