{"id":18428042,"url":"https://github.com/ryan-l-robinson/drupal-devcontainer","last_synced_at":"2025-04-07T16:34:11.449Z","repository":{"id":39589295,"uuid":"468868111","full_name":"ryan-l-robinson/Drupal-Devcontainer","owner":"ryan-l-robinson","description":"Implementation of a VS Code compatible devcontainer for Drupal development","archived":false,"fork":false,"pushed_at":"2024-03-24T23:07:09.000Z","size":385,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T21:41:53.909Z","etag":null,"topics":["devcontainer","docker","drupal","drupal-9","vscode"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryan-l-robinson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-11T19:00:27.000Z","updated_at":"2024-11-08T07:13:09.000Z","dependencies_parsed_at":"2024-03-25T00:21:36.464Z","dependency_job_id":"cb7bd684-e588-47e7-b8b4-790ec16e33a8","html_url":"https://github.com/ryan-l-robinson/Drupal-Devcontainer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan-l-robinson%2FDrupal-Devcontainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan-l-robinson%2FDrupal-Devcontainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan-l-robinson%2FDrupal-Devcontainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryan-l-robinson%2FDrupal-Devcontainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryan-l-robinson","download_url":"https://codeload.github.com/ryan-l-robinson/Drupal-Devcontainer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247688511,"owners_count":20979688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devcontainer","docker","drupal","drupal-9","vscode"],"created_at":"2024-11-06T05:12:40.366Z","updated_at":"2025-04-07T16:34:11.082Z","avatar_url":"https://github.com/ryan-l-robinson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal devcontainer\n\nThis project provides a generic devcontainer setup designed for development of a Drupal website.\n\n## Usage\n\n1. Clone this project to your computer.\n1. Open the folder in Visual Studio Code, with [the Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) enabled.\n1. When prompted to open in container, accept. If you miss the prompt, you can also open the command prompt and choose \"Remote-Containers: Rebuild and Reopen in Container.\"\n\nThis will build the necessary containers and reopen VS Code within the Apache container (\"web\").\n\nAfter building, the site can be browsed at https://localhost, or https://local.example.com if you set up your machine's hosts file with a record like:\n\n```\n127.0.0.1 local.example.com\n```\n\nThe admin account is:\n\nUsername: admin\n\nPassword: ZNB\\*ufm1tyz4rwc@yzk\n\nIf you would like to change these before building the images, you can do so in .devcontainer/scripts/postCreateCommand.sh.\n\n## Containers\n\nThe first container has PHP and Apache and is built on an official Drupal image. The second is a database container, using the official MariaDB image.\nThe setup includes:\n\n- PHP 8.2 and PHP extensions recommended for Drupal 10: APCU and UploadProgress\n- Latest version of composer.\n- XDebug for PHP testing.\n- User \"www-data\" with sudo permissions.\n- Self-signed certificate for HTTPS browsing.\n- Useful Drupal modules module_filter, admin_toolbar, and environment_indicator with configuration.\n- Useful VS Code extensions and settings including Drupal formatting standards.\n- SSH folder and .gitconfig as volumes, so if your SSH keys are in the standard user profile's .ssh folder and you clone with SSH, there won't be any extra steps necessary to connect to the repository with your configuration.\n- A dark mode colour palette.\n- Grep colour highlighting for easier reading of results.\n\n## Oracle Linux Version\n\nAn older version that required Oracle Linux has been split off into the oracle-linux branch. Work will continue forward with the main branch, but that is maintained for anybody looking for an Oracle Linux version.\n\n## TODO\n\n- [ ] Create alternate version where images are built in GitHub Actions instead of locally. TBD if to overtake this main branch, different branch, or different repo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryan-l-robinson%2Fdrupal-devcontainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryan-l-robinson%2Fdrupal-devcontainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryan-l-robinson%2Fdrupal-devcontainer/lists"}