{"id":14954924,"url":"https://github.com/urre/wordpress-nginx-docker-compose","last_synced_at":"2025-04-08T16:06:38.361Z","repository":{"id":37894858,"uuid":"146401312","full_name":"urre/wordpress-nginx-docker-compose","owner":"urre","description":"Run WordPress with nginx using Docker Compose. ","archived":false,"fork":false,"pushed_at":"2024-05-28T08:42:13.000Z","size":9407,"stargazers_count":790,"open_issues_count":8,"forks_count":306,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-04-01T14:15:36.561Z","etag":null,"topics":["bedrock","cli-scripts","compose","docker","docker-compose","https","nginx","phpmyadmin","wordpress","wp-cli"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/urre.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":"2018-08-28T06:23:11.000Z","updated_at":"2025-03-30T07:39:54.000Z","dependencies_parsed_at":"2024-05-28T09:42:47.601Z","dependency_job_id":null,"html_url":"https://github.com/urre/wordpress-nginx-docker-compose","commit_stats":{"total_commits":187,"total_committers":15,"mean_commits":"12.466666666666667","dds":"0.12299465240641716","last_synced_commit":"ce8d8e680e280050df3a0e1fbf9b0bc33af2b2ba"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Fwordpress-nginx-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Fwordpress-nginx-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Fwordpress-nginx-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urre%2Fwordpress-nginx-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urre","download_url":"https://codeload.github.com/urre/wordpress-nginx-docker-compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878022,"owners_count":21011158,"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","cli-scripts","compose","docker","docker-compose","https","nginx","phpmyadmin","wordpress","wp-cli"],"created_at":"2024-09-24T13:10:14.785Z","updated_at":"2025-04-08T16:06:38.345Z","avatar_url":"https://github.com/urre.png","language":"CSS","funding_links":["https://www.paypal.me/urbansanden"],"categories":[],"sub_categories":[],"readme":"\n# Docker Compose and WordPress\n\n[![CI](https://github.com/urre/wordpress-nginx-docker-compose/actions/workflows/ci.yml/badge.svg)](https://github.com/urre/wordpress-nginx-docker-compose/actions/workflows/ci.yml)\n\n[![Donate](https://img.shields.io/badge/Donation-green?logo=paypal\u0026label=Paypal)](https://www.paypal.me/urbansanden)\n\nUse WordPress locally with Docker using [Docker compose](https://docs.docker.com/compose/)\n\n## Contents\n\n+ A `Dockerfile` for extending a base image and using a custom [Docker image](https://github.com/urre/wordpress-nginx-docker-compose-image) with an [automated build on Docker Hub](https://cloud.docker.com/repository/docker/urre/wordpress-nginx-docker-compose-image)\n+ PHP 8.1\n+ Custom domain and HTTPS support. So you can use for example [https://myapp.local](https://myapp.local)\n+ Custom nginx config in `./nginx`\n+ Custom PHP `php.ini` config in `./config`\n+ Volumes for `nginx`, `wordpress` and `mariadb`\n+ [Composer](https://getcomposer.org/) - dependency manager for PHP\n+ [Bedrock](https://roots.io/bedrock/) - modern development tools, easier configuration, and an improved secured folder structure for WordPress\n+ [WP-CLI](https://wp-cli.org/) - WP-CLI is the command-line interface for WordPress.\n+ [MailHog](https://github.com/mailhog/MailHog) - An email testing tool for developers. Configure your outgoing SMTP server and view your outgoing email in a web UI.\n+ [PhpMyAdmin](https://www.phpmyadmin.net/) - free and open source administration tool for MySQL and MariaDB\n\t- PhpMyAdmin config in `./config`\n+ [CLI script](https://github.com/urre/wordpress-nginx-docker-compose#:~:text=6%20minutes%20ago-,cli,-Use%20%2Dinstall%20for) to create a SSL certificate using [mkcert](https://github.com/FiloSottile/mkcert)\n\n## Instructions and help\n\nSee the new [Wiki](https://github.com/urre/wordpress-nginx-docker-compose/wiki)\n\n## Changelog\n\n#### 2024-05-28\n- Update Composer to use PHP 8.1\n- Added a [GitHub Wiki for instructions](https://github.com/urre/wordpress-nginx-docker-compose/wiki)\n#### 2022-05-28\n- Use PHP 8.1 [Dockerfile](https://github.com/urre/wordpress-nginx-docker-compose-image/blob/master/Dockerfile) is updated.\n#### 2022-05-28\n- Use php:8.0-fpm-alpine as the base image on the image in Dockerfile [](https://hub.docker.com/repository/registry-1.docker.io/urre/wordpress-nginx-docker-compose-image/general)\n#### 2022-05-28\n- Updated the Docker image to use PHP 8\n#### 2021-08-04\n- Updated to WordPress 5.8.0\n#### 2021-03-16\n- Changed root `.env-example` to `.env.example` to match the git ignore patterns. Thanks [@scottnunemacher](https://github.com/scottnunemacher)\n#### 2021-03-05\n- Clarify steps in the readme\n#### 2021-03-02\n- Fixed a misstake so instead of `./src/.env-example`, it should be `./src/.env.example`.\n- Redirect HTTP to HTTPS. Thanks [@humblecoder](https://github.com/humblecoder)\n#### 2021-01-02\n- Use `NGINX_ENVSUBST_TEMPLATE_SUFFIX`. Use a template and better substution of ENV variables in nginx config.\n#### 2020-10-04\n- Added mariadb-client (Solves [#54](https://github.com/urre/wordpress-nginx-docker-compose/issues/54))\n#### 2020-09-15\n- Updated Bedrock. Update WordPress to 5.5.1 and other composer updates.\n#### 2020-07-12\n- Added Mailhog. Thanks [@mortensassi](https://github.com/mortensassi)\n#### 2020-05-03\n- Added nginx gzip compression\n#### 2020-04-19\n- Added Windows support for creating SSH cert, trusting it and setting up the host file entry. Thanks to [@styssi](https://github.com/styssi)\n#### 2020-04-12\n- Remove port number from `DB_HOST`. Generated database connection error in macOS Catalina. Thanks to [@nirvanadev](https://github.com/nirvanadev)\n- Add missing ENV variable from mariadb Thanks to [@vonwa](https://github.com/vonwa)\n#### 2020-03-26\n- Added phpMyAdmin config.Thanks to [@titoffanton](https://github.com/titoffanton)\n#### 2020-02-06\n- Readme improvements. Explain `/etc/hosts` better\n#### 2020-01-30\n- Use `Entrypoint` command in Docker Compose to replace the domain name in the nginx config. Removing the need to manually edit the domain name in the nginx conf. Now using the `.env` value `DOMAIN`\n- Added APP_NAME in `.env-example` Thanks to [@Dave3o3](https://github.com/Dave3o3)\n#### 2020-01-11\n- Added `.env` support for specifying your own app name, domain etc in Docker and cli scripts.\n- Added phpMyAdmin. Visit [http://127.0.0.1:8080/](http://127.0.0.1:8080/)\n\n#### 2019-08-02\n- Added Linux support. Thanks to [@faysal-ishtiaq](https://github.com/faysal-ishtiaq).\n\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furre%2Fwordpress-nginx-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furre%2Fwordpress-nginx-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furre%2Fwordpress-nginx-docker-compose/lists"}