2024-07-15 18:55:37 +00:00
|
|
|
// 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",
|
|
|
|
|
2024-08-06 14:12:50 +00:00
|
|
|
"forwardPorts": [
|
|
|
|
8080
|
|
|
|
],
|
|
|
|
|
2024-07-15 18:55:37 +00:00
|
|
|
// Configure tool-specific properties.
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"extensions": [
|
2024-08-06 14:12:50 +00:00
|
|
|
"bmewburn.vscode-intelephense-client",
|
2024-07-15 18:55:37 +00:00
|
|
|
"ms-azuretools.vscode-docker",
|
2024-08-06 14:12:50 +00:00
|
|
|
"xdebug.php-debug",
|
|
|
|
"donjayamanne.githistory"
|
2024-07-15 18:55:37 +00:00
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"php.suggest.basic": false
|
|
|
|
}
|
|
|
|
}
|
2024-08-31 14:54:05 +00:00
|
|
|
}
|
2024-07-15 18:55:37 +00:00
|
|
|
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
2024-08-31 14:54:05 +00:00
|
|
|
//"remoteUser": "root"
|
2024-07-15 18:55:37 +00:00
|
|
|
}
|