{"id":20376404,"url":"https://github.com/drupalwxt/docker-scaffold","last_synced_at":"2025-09-19T01:45:47.641Z","repository":{"id":37485134,"uuid":"236413950","full_name":"drupalwxt/docker-scaffold","owner":"drupalwxt","description":"Docker Scaffold for Drupal WxT","archived":false,"fork":false,"pushed_at":"2025-08-20T04:48:35.000Z","size":232,"stargazers_count":4,"open_issues_count":5,"forks_count":9,"subscribers_count":8,"default_branch":"10.4.x","last_synced_at":"2025-08-20T06:14:40.115Z","etag":null,"topics":["docker","drupal"],"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/drupalwxt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2020-01-27T03:33:31.000Z","updated_at":"2025-07-04T02:40:28.000Z","dependencies_parsed_at":"2024-01-14T20:04:23.773Z","dependency_job_id":"1ec7b117-9c40-4fcd-bba8-a6136c6f8b14","html_url":"https://github.com/drupalwxt/docker-scaffold","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/drupalwxt/docker-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fdocker-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fdocker-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fdocker-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fdocker-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drupalwxt","download_url":"https://codeload.github.com/drupalwxt/docker-scaffold/tar.gz/refs/heads/10.4.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupalwxt%2Fdocker-scaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275867591,"owners_count":25542801,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["docker","drupal"],"created_at":"2024-11-15T01:37:20.824Z","updated_at":"2025-09-19T01:45:47.573Z","avatar_url":"https://github.com/drupalwxt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Scaffold for Drupal\n\nProvides an barebones, fast, and lightweight local / CI docker environment to work with [Drupal][wxt].\n\n## Pre-Requisites\n\nYou need to be using Docker Compose V2 and ensure the version \u003e= v2.15.0.\n\n## Setup\n\nInstallation is relatively straight forward as long as you are managing your site dependencies with Composer.\n\nAll of these commands must be run at the root of the Composer Project where the `composer.json` file exists.\n\nClone the docker-scaffold repository:\n\n```sh\ngit clone https://github.com/drupalwxt/docker-scaffold.git docker\n```\n\n\u003e **Note**: The `docker` folder should be added to your `.gitignore` file.\n\nCreate the necessary symlinks:\n\n```sh\nln -s docker/docker-compose.base.yml docker-compose.base.yml\nln -s docker/docker-compose.ci.yml docker-compose.ci.yml\nln -sf docker/docker-compose.yml docker-compose.yml\n```\n\nCreate a Makefile and make any necessary adjustments:\n\n```sh\ninclude .env\nNAME := $(or $(BASE_IMAGE),$(BASE_IMAGE),drupalwxt/site-wxt)\nVERSION := $(or $(VERSION),$(VERSION),'latest')\nPLATFORM := $(shell uname -s)\n$(eval GIT_USERNAME := $(if $(GIT_USERNAME),$(GIT_USERNAME),github-token))\n$(eval GIT_PASSWORD := $(if $(GIT_PASSWORD),$(GIT_PASSWORD),$(CI_JOB_TOKEN)))\nDOCKER_REPO := https://github.com/drupalwxt/docker-scaffold.git\nGET_DOCKER := $(shell [ -d docker ] || git clone $(DOCKER_REPO) docker)\ninclude docker/Makefile\n```\n\nCreate a `scripts/ScriptHandler.php` file and make any necessary adjustments:\n\n*  [ScriptHandler.php](scripts/ScriptHandler.php)\n\nCreate a `load.environment.php` file and make any necessary adjustments:\n\n*  [load.environment.php](load.environment.php)\n\nEnsure your `composer.json` at the minimum has the following:\n\n```json\n\"require\": {\n    \"vlucas/phpdotenv\": \"^5.1\",\n    \"webflo/drupal-finder\": \"^1.2\"\n},\n\"autoload\": {\n    \"classmap\": [\n        \"scripts/ScriptHandler.php\"\n    ],\n    \"files\": [\"load.environment.php\"]\n},\n\"scripts\": {\n    \"pre-install-cmd\": [\n        \"DrupalWxT\\\\WxT\\\\ScriptHandler::checkComposerVersion\"\n    ],\n    \"pre-update-cmd\": [\n        \"DrupalWxT\\\\WxT\\\\ScriptHandler::checkComposerVersion\"\n    ],\n    \"post-install-cmd\": [\n        \"DrupalWxT\\\\WxT\\\\ScriptHandler::createRequiredFiles\"\n    ],\n    \"post-update-cmd\": [\n        \"DrupalWxT\\\\WxT\\\\ScriptHandler::createRequiredFiles\"\n    ]\n},\n```\n\n## Example\n\nYou can see the docker-scaffold in use in the `site-wxt` repository:\n\n* https://github.com/drupalwxt/site-wxt\n\n## Documentation\n\nFor more information please consult the documentation:\n\n* https://drupalwxt.github.io/docs/environment/containers/\n\n[composer]:                     https://getcomposer.org\n[docker-scaffold]:              https://github.com/drupalwxt/docker-scaffold.git\n[site-wxt]:                     https://github.com/drupalwxt/site-wxt\n[wxt]:                          https://github.com/drupalwxt/wxt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupalwxt%2Fdocker-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrupalwxt%2Fdocker-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupalwxt%2Fdocker-scaffold/lists"}