// 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 { "name": "PHP", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "image": "mcr.microsoft.com/devcontainers/php:8-trixie", // Features to add to the dev container. More info: https://containers.dev/features. "features": { "ghcr.io/devcontainers/features/git-lfs:1": { "autoPull": true, "version": "latest" }, "ghcr.io/devcontainers/features/node:1": { "nodeGypDependencies": true, "installYarnUsingApt": true, "version": "lts", "pnpmVersion": "latest", "nvmVersion": "latest" }, "ghcr.io/itsmechlark/features/postgresql:1": { "version": "latest" }, "ghcr.io/yassinedoghri/devcontainers/php-extensions-installer:1": { "extensions": "gd intl pcntl pdo_pgsql", "configuration": "" } }, // Configure tool-specific properties. // "customizations": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [ 8080, 9000 ], "onCreateCommand": "cat > config.php << 'EOF'\n