mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-27 08:19:37 -05:00
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "PHP",
|
|
"image": "mcr.microsoft.com/devcontainers/php",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"github.codespaces",
|
|
// PHP from https://github.com/devcontainers/templates/tree/main/src/php
|
|
"xdebug.php-debug",
|
|
"bmewburn.vscode-intelephense-client",
|
|
"xdebug.php-pack",
|
|
// PHP
|
|
"DEVSENSE.phptools-vscode",
|
|
"DEVSENSE.composer-php-vscode",
|
|
// linting
|
|
"EditorConfig.EditorConfig",
|
|
"dbaeumer.vscode-eslint",
|
|
"raymondcamden.CSSLint",
|
|
// testing
|
|
"maty.vscode-mocha-sidebar"
|
|
]
|
|
},
|
|
"codespaces": {
|
|
"openFiles": [
|
|
"README.md",
|
|
"doc/README.md"
|
|
],
|
|
"repositories": {
|
|
"PrivateBin/*": {
|
|
"permissions": {
|
|
"pull_requests": "write"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers-contrib/features/mocha:2": {}
|
|
},
|
|
"forwardPorts": [
|
|
8080
|
|
],
|
|
"postCreateCommand": ".devcontainer/postCreateCommand.sh",
|
|
// alternatiuve: apache2ctl start (but requires root)
|
|
"postAttachCommand": "php -S 0.0.0.0:8080"
|
|
}
|