{"id":20832278,"url":"https://github.com/scbd/drupal-docker-stacks","last_synced_at":"2025-07-29T05:08:36.260Z","repository":{"id":148913245,"uuid":"112013928","full_name":"scbd/drupal-docker-stacks","owner":"scbd","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-21T13:42:06.000Z","size":961,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-12T08:33:31.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scbd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-25T15:29:11.000Z","updated_at":"2017-12-02T17:11:29.000Z","dependencies_parsed_at":"2023-07-25T06:30:57.869Z","dependency_job_id":null,"html_url":"https://github.com/scbd/drupal-docker-stacks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scbd/drupal-docker-stacks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scbd%2Fdrupal-docker-stacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scbd%2Fdrupal-docker-stacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scbd%2Fdrupal-docker-stacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scbd%2Fdrupal-docker-stacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scbd","download_url":"https://codeload.github.com/scbd/drupal-docker-stacks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scbd%2Fdrupal-docker-stacks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267633087,"owners_count":24118752,"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-07-29T02:00:12.549Z","response_time":2574,"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":[],"created_at":"2024-11-18T00:11:06.074Z","updated_at":"2025-07-29T05:08:36.197Z","avatar_url":"https://github.com/scbd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# SCBD Drupal Docker Stacks\n\n\n## Introduction\n\nDrupal docker stacks was inspired by [Docker4Drupal](https://github.com/wodby/docker4drupal).  It is a template for a drupal development workflow using docker stacks to represent the local, dev, staging and production  drupal environments.\n\nDrupal docker stacks provides and utilizes tools in order to synchronize environments facilitating the development workflow.\n\n## Requirements\n\n* Docker CE 17.04.0+ supporting compose file format 3.2+, get it [here](https://docs.docker.com/engine/installation/)\n* Docker-sync in order to mount a mac drive to docker, get it [here](http://docker-sync.io/) or ```gem install docker-sync ```\n* Access to private repo https://github.com/scbd/drupal-config\n* git config (set up with your account which has access ot the private repo)\n* Required SCBD secrets in order to run drupal\n  1. SRCKEY - key to decrypt encrypted docker image\n  2. db-init\n  3. S3ID\n  4. S3PASS\n* Supplementary SCBD secrets\n  1. AURORA_USER - your user for the cloud sql\n  2. AURORA_PASS - your pass for the cloud sql\n  3. DRUPAL_ADMIN_USER\n  4. DRUPAL_ADMIN_PASS\n\n\u003e Request private access and secrets from it@cbd.int. Also our cloud based sql is ip restricted, you will need to provide your static ip for local development.\n\n## Quick Start - drupal local initialization\nPlace your secrets in your home directory $HOME/.secrets/\n```bash\nbash -c \"$(curl -fsSL https://tinyurl.com/y8k7f2f4)\"  \n```\n\n## Quick Commands From /local/drupal/ once initialized\nTo start drupal after stopped\n```bash\nsh start.sh\n```\nTo start drupal from running in the back ground\n```bash\nsh stop.sh\n```\nTo export config changes for git commit\n```bash\nsh export.sh\n```\nTo require a drupal module or theme\n```bash\n sh require.sh drupal/module\n ```\n To completely remove all drupal and data from your system\n ```bash\n  bash -c \"$(curl -fsSL https://tinyurl.com/y98xuzjj)\"\n ```\n\n## Documentation\nFull documentation is available at [http://drupal-docker-stacks.readthedocs.io](http://drupal-docker-stacks.readthedocs.io/en/latest/)\n\n## Stacks\nhttp://drupal.localhost/\n\nhttps://drupal.cbddev.xyz/\n\nhttps://drupal.staging.cbd.int/\n\n### The Drupal Docker Stack:\n\n| Stack      | yml                |\n| ---------- | ------------------ |\n| local      | [drupal.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/local/drupal/drupal.yml)         |\n| dev        | [drupal.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/dev/drupal/drupal.yml)           |\n| stg        | [drupal.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/stg/drupal/drupal.yml)           |\n| prod       | [drupal.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/prod/drupal/drupal.yml)          |\n\n### The Dependency Stack:\nDrupal Docker Stacks has one dependency which is a reverse proxy.  Our implementation is employs [traefik](https://traefik.io/). Please share your custom reverse proxy implementations.\n\n| Stack      | yml                |\n| ---------- | ------------------ |\n| local      | [proxy.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/local/proxy/proxy.yml)         |\n| dev        | [proxy.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/dev/proxy/proxy.yml)         |\n| stg        | [proxy.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/stg/proxy/proxy.yml)         |\n\n\n### The Helper Stack:\nThe helper stack [portainer](https://portainer.io/) a tool to help you manage your docker stacks via a UI.\n\n| Stack      | yml                |\n| ---------- | ------------------ |\n| local      | [manage.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/local/manage/manage.yml)         |\n| dev        | [manage.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/dev/manage/manage.yml)           |\n| stg        | [manage.yml](https://github.com/scbd/drupal-docker-stacks/blob/master/stg/manage/manage.yml)           |\n\n## Reference\n\n### Drupal developer resources\n* [drupal-8-website-composer-template](https://another.ink/journal/drupal-8-website-composer-template)\n* [managing-drupal-8-configuration-with-git](https://another.ink/journal/managing-drupal-8-configuration-with-git)\n* [drupal-8-configuration-management-solving-configuration-conundrum](https://chromatichq.com/blog/drupal-8-configuration-management-solving-configuration-conundrum)\n* [drush - why don't you use drupal for your site](https://drushcommands.com)\n* [composer](https://getcomposer.org/doc/)\n* [drupal 8 docs](https://www.drupal.org/docs/8)\n* [s3-bucket-configuration-with-drupal-8](http://www.tothenew.com/blog/s3-bucket-configuration-with-drupal-8/)\n* [moving-configuration-d8](https://www.curveagency.com/blog/moving-configuration-d8)\n* [drupal-s3](https://pantheon.io/docs/drupal-s3/)\n* [easy-amazon-s3-drupal-s3fs](http://www.symphonythemes.com/drupal-blog/easy-amazon-s3-drupal-s3fs)\n* [configuration-management](https://www.drupal.org/docs/8/configuration-management/managing-your-sites-configuration)\n* [vagrant-vs-docker](https://medium.com/@Mahmoud_Zalt/vagrant-vs-docker-679c9ce4231b)\n* [drupal-8-ci-cd-with-docker-circleci-example-part-29](https://blog.wodby.com/drupal-8-ci-cd-with-docker-circleci-example-part-2-b04ff32713b9)\n* [https://www.drupal.org/node/803746](https://www.drupal.org/node/803746)\n* [Docker-DrupalHeart](https://www.drupalheart.com/sites/default/files/drupalheart-presentations/Docker-DrupalHeart%20Camp%20Zagreb%202017.pdf)\n* [using-docker-multi-devmulti-platform-development](https://www.drupalasheville.com/2017/session/using-docker-multi-devmulti-platform-development)\n\n* [drupal lerning curve](https://www.webpagefx.com/blog/web-design/drupal-learning-curve/)\n* [boycott docker](https://www.google.ca/url?sa=t\u0026rct=j\u0026q=\u0026esrc=s\u0026source=web\u0026cd=7\u0026cad=rja\u0026uact=8\u0026ved=0ahUKEwjxtKaF-OvXAhWF14MKHRibB48QFghQMAY\u0026url=https%3A%2F%2Fcontainerjournal.com%2F2016%2F12%2F19%2Fpeople-want-boycott-docker%2F\u0026usg=AOvVaw0gTOBDR5wcSUmtAmnnn2vw)\n\n* [docksal](http://docksal.readthedocs.io/en/master/)\n### State of Drupal:\n* [Node vs PHP](https://www.infoworld.com/article/3166109/application-development/php-vs-nodejs-an-epic-battle-for-developer-mind-share.html)\n* [Drupal we need to talk](http://davehall.com.au/blog/dave/2017/04/19/drupal-we-need-talk)\n* [CMS 2017](https://cms2cms.com/blog/trending-in-cms-where-to-move-in-2017-provocative-analysis)\n* [State of Drupal](https://www.drupal.org/forum/general/general-discussion/2017-07-21/state-of-drupal)\n\n### Trends:\n* [drupal](https://trends.google.com/trends/explore?date=all\u0026q=drupal)\n* [nodejs](https://trends.google.com/trends/explore?date=all\u0026q=nodejs)\n* [Vue](https://trends.google.com/trends/explore?date=today%205-y\u0026q=vuejs)\n* [php](https://trends.google.com/trends/explore?date=all\u0026q=%2Fm%2F060kv)\n* [docker](https://trends.google.com/trends/explore?date=all\u0026q=docker)\n* [vagrant](https://trends.google.com/trends/explore?date=all\u0026q=vagrant)\n\n## License\n\n## TODO\n\n- memcache\n- varnish\n- solr\n\nThis project is licensed under the MIT open source license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscbd%2Fdrupal-docker-stacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscbd%2Fdrupal-docker-stacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscbd%2Fdrupal-docker-stacks/lists"}