// 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": [ 80, 443, 3306, 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": "vscode" }