{"id":13661530,"url":"https://github.com/schliflo/bedrock-docker","last_synced_at":"2025-03-17T08:38:11.753Z","repository":{"id":65383458,"uuid":"109618490","full_name":"schliflo/bedrock-docker","owner":"schliflo","description":"Development Setup for Bedrock Wordpress based on Docker","archived":false,"fork":false,"pushed_at":"2021-05-15T15:52:33.000Z","size":39,"stargazers_count":117,"open_issues_count":1,"forks_count":23,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-27T21:49:49.271Z","etag":null,"topics":["bedrock","bedrock-docker","development","dinghy","docker","mailhog","phpmyadmin","wordpress"],"latest_commit_sha":null,"homepage":"https://bedrock-docker.schliflo.de","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/schliflo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-05T21:36:22.000Z","updated_at":"2025-02-23T11:32:03.000Z","dependencies_parsed_at":"2023-01-20T15:25:11.064Z","dependency_job_id":null,"html_url":"https://github.com/schliflo/bedrock-docker","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/schliflo%2Fbedrock-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schliflo%2Fbedrock-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schliflo%2Fbedrock-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schliflo%2Fbedrock-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schliflo","download_url":"https://codeload.github.com/schliflo/bedrock-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243853683,"owners_count":20358461,"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":["bedrock","bedrock-docker","development","dinghy","docker","mailhog","phpmyadmin","wordpress"],"created_at":"2024-08-02T05:01:36.514Z","updated_at":"2025-03-17T08:38:11.427Z","avatar_url":"https://github.com/schliflo.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"\u003e This project is no longer maintained as we developed [docker-mate](https://github.com/docker-mate/docker-mate) as a successor, which supports more PHP based sytems other than Wordpress, local SSL and is overall more extensible and improved. \u003cbr\u003e\n\u003e I'd highly suggest having a look at the [docker-mate repo](https://github.com/docker-mate/docker-mate) and the [docs](https://docker-mate.dev/).\n\n# Bedrock Docker\nEasy-to-use [Docker](https://www.docker.com/) setup for local development of [Bedrock](https://github.com/roots/bedrock) based [Wordpress](https://wordpress.org/) projects\n\n*please note that this is intended for local development - deploying it to production is probably a bad idea*\n\n[![Build Status](https://travis-ci.org/schliflo/bedrock-docker.svg?branch=master)](https://travis-ci.org/schliflo/bedrock-docker)\n## Features\n- Automated setup of new and existing [Bedrock](https://github.com/roots/bedrock) projects\n- Minimal configuration needed: Enter your project's name and you're good to go\n- Backup/Restore routines for the database\n- [MailHog](https://github.com/mailhog/MailHog): Catch all outgoing mail for easy mail debugging\n- [phpMyAdmin](https://github.com/phpmyadmin/phpmyadmin): Direct database access\n\n[![Screenshot showing Bedrock Docker in action](https://user-images.githubusercontent.com/9881672/33634343-21380236-da14-11e7-8322-8896341115c9.png \"Screenshot\")](https://user-images.githubusercontent.com/9881672/33634343-21380236-da14-11e7-8322-8896341115c9.png)\n## Requirements\n\n### macOS\n- If you're using [dinghy](https://github.com/codekitchen/dinghy) that's everything you need\n- For native docker installs you need to configure your system to resolve `.docker` domains to `127.0.0.1`\n\n### Linux\n- `docker` \u0026 `docker-compose`\n- Configure your system to resolve `.docker` domains to `127.0.0.1`\n\n## Usage\n\n### First time setup\n1. `git clone https://github.com/schliflo/bedrock-docker.git your-project`\n1. `cd your-project`\n1. Adjust `PROJECT_NAME=bedrock` in the Makefile to your projects name (use [kebap-case](https://stackoverflow.com/questions/11273282/whats-the-name-for-hyphen-separated-case/12273101#12273101) as this is also used for your local development domain)\n1. Run `make up` and follow the instructions\n1. Your new project should start and you should be greeted with the local URLs where you can access it\n\n### Starting, stopping etc...\nRun `make up` to start everything\n\nRun `make stop` to stop everything\n\nRun `make restart` to - you probably guessed it - restart everything\n\nRun `make rebuild` to rebuild the project from the ground (current database will be lost if not backed up)\n\n### Using composer\nBedrock Docker abstracts composer into a container. You can use `make composer` like you would use `composer` standalone:\n\n    # install a wordpress plugin:\n    make composer require wpackagist-plugin/wp-mail-smtp\n    \n    # update wordpress \u0026 plugins:\n    make composer update\n\n\n### Backup a database\nRun `make mysql-backup` creates a compressed backup of your database in the backup folder. If you need a more fine grained backup you can use phpMyAdmin\n\n### Restoring a database\nUse phpMyAdmin to restore the database or use `make mysql-restore` if you created a backup previously\n\n### Upgrading the project \u0026 development containers\nRun `make upgrade`\n\n### Logging \u0026 information\nRun `make logs` or `make logs app` for just the logs of all or specific containers\n\nRun `make state` to see the current state of your containers\n\nRun `make urls` to see the URLs of the project\n\n### Accessing containers\nRun `make ssh app` or `make logs web` to access the specific containers\n\n### Deleting the containers\nRun `make destroy`\n\n## Need help or missing a feature?\nOpen an issue over [here](https://github.com/schliflo/bedrock-docker/issues)\n\nFeedback is generally appreciated ;)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschliflo%2Fbedrock-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschliflo%2Fbedrock-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschliflo%2Fbedrock-docker/lists"}