mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
// 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-mariadb
|
|
{
|
|
"name": "Friendica",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
|
|
"remoteEnv": {
|
|
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
|
|
"developmentUser": "vscode"
|
|
},
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
// "features": {},
|
|
|
|
// For use with PHP or Apache (e.g.php -S localhost:8080 or apache2ctl start)
|
|
"forwardPorts": [3306, 8080],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postCreateCommand": "bash -c '.devcontainer/postCreate.sh && .devcontainer/postCreateApacheSetup.sh && .devcontainer/postCreateFriendicaSetup.sh'",
|
|
"postStartCommand": "service apache2 start",
|
|
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"xdebug.php-debug",
|
|
"ms-azuretools.vscode-docker",
|
|
"donjayamanne.githistory",
|
|
"bmewburn.vscode-intelephense-client"
|
|
],
|
|
"settings": {
|
|
"php.suggest.basic": false
|
|
}
|
|
}
|
|
},
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
"remoteUser": "vscode"
|
|
}
|