{"id":25580634,"url":"https://github.com/peterbooker/wpdev","last_synced_at":"2025-04-12T17:12:48.673Z","repository":{"id":81718452,"uuid":"132467926","full_name":"PeterBooker/wpdev","owner":"PeterBooker","description":"Docker based development environment for WordPress","archived":false,"fork":false,"pushed_at":"2024-01-15T14:52:12.000Z","size":316,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T17:12:39.205Z","etag":null,"topics":["developement","docker","wordpress"],"latest_commit_sha":null,"homepage":null,"language":null,"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/PeterBooker.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}},"created_at":"2018-05-07T13:54:38.000Z","updated_at":"2024-01-15T14:52:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"5db339c8-c7e2-4f0d-9585-4c5658440de9","html_url":"https://github.com/PeterBooker/wpdev","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/PeterBooker%2Fwpdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBooker%2Fwpdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBooker%2Fwpdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBooker%2Fwpdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterBooker","download_url":"https://codeload.github.com/PeterBooker/wpdev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602312,"owners_count":21131616,"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":["developement","docker","wordpress"],"created_at":"2025-02-21T04:17:57.646Z","updated_at":"2025-04-12T17:12:48.642Z","avatar_url":"https://github.com/PeterBooker.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPDev\nDocker based development environment for WordPress- Includes Caddy, MariaDB, PHP, Memcached, Mailhog and Adminer.\n\n## Dependencies\n\n* Docker - ([windows](https://docs.docker.com/docker-for-windows/install/), [mac](https://docs.docker.com/docker-for-mac/install/))\n* Docker-Compose - ([install](https://docs.docker.com/compose/install/))\n\n## Features\n\nWPDev creates a full development environment for WordPress containing:\n\n- [x] NGINX\n- [x] MariaDB\n- [x] Redis\n- [x] [PHP](https://github.com/devilbox/docker-php-fpm) (5.3 / 7.4 / 8.0 / 8.1 / 8.2)\n- [x] Mailhog\n\nYou can easily customize this further by editing the `docker-compose.yml` file yourself.\n\n## Usage\n\nThe easiest way to use this is by cloning it into a directory for each site you want.\n\n`git clone https://github.com/PeterBooker/wpdev.git dir-name`\n\nNext, copy `.env.example` to `.env` and customize the environment variables, adding in the local domain you want to use. Make sure the domain you use is added to your local hosts file.\n\nIf you want to use HTTPS then you can overwrite the certs in `.docker/config/certs` with your own (Note: [mkcert](https://github.com/FiloSottile/mkcert) is a great tool.)\n\nNext, from the newly created directory, start up the Docker containers:\n\n`docker-compose up -d`\n\nDuring startup WordPress will be installed if needed. Once running you can access WordPress at `general.dev` and Mailhog at `mailhog.general.dev`. WordPress files are persisted to `/.docker/wordpress/` and DB files to `/.docker/data/db/`.\n\nIf you want to use an existing WordPress repository, you can symlink it into `/.docker/wordpress/`.\n\nFinally, to stop and remove all the containers:\n\n`docker-compose down`\n\n## TODO\n\n- [ ] Add convenience scripts for DB backups, DB imports, adding domains to hosts file and generating SSL certs.\n\n## License\n\nLicensed under MIT.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbooker%2Fwpdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterbooker%2Fwpdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbooker%2Fwpdev/lists"}