mirror of
https://github.com/friendica/friendica
synced 2024-12-27 03:20:15 +00:00
42 lines
1.2 KiB
JSON
42 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",
|
|
|
|
"forwardPorts": [
|
|
8080
|
|
],
|
|
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"bmewburn.vscode-intelephense-client",
|
|
"ms-azuretools.vscode-docker",
|
|
"xdebug.php-debug",
|
|
"donjayamanne.githistory"
|
|
],
|
|
"settings": {
|
|
"php.suggest.basic": false
|
|
}
|
|
}
|
|
}
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
//"remoteUser": "root"
|
|
}
|