mirror of
https://github.com/friendica/friendica
synced 2024-11-18 00:23:47 +00:00
38 lines
1.2 KiB
JSON
38 lines
1.2 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": {},
|
|
|
|
// 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"
|
|
}
|