{"id":18636502,"url":"https://github.com/jsdiazp/wordpress-docker-compose","last_synced_at":"2026-03-09T12:04:47.562Z","repository":{"id":166191008,"uuid":"641614352","full_name":"jsdiazp/wordpress-docker-compose","owner":"jsdiazp","description":"Simplify your WordPress development using Docker and Docker Compose.","archived":false,"fork":false,"pushed_at":"2024-09-04T23:57:01.000Z","size":48,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-10T03:39:37.789Z","etag":null,"topics":["certbot","docker","docker-compose","letsencrypt","mariadb","ngnix","php","redis","wordpress"],"latest_commit_sha":null,"homepage":"","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/jsdiazp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-16T21:02:26.000Z","updated_at":"2024-09-04T23:57:04.000Z","dependencies_parsed_at":"2023-10-02T02:50:14.323Z","dependency_job_id":"fb464b69-e6b0-4f84-97de-1475cd3a49b5","html_url":"https://github.com/jsdiazp/wordpress-docker-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsdiazp/wordpress-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdiazp%2Fwordpress-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdiazp%2Fwordpress-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdiazp%2Fwordpress-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdiazp%2Fwordpress-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsdiazp","download_url":"https://codeload.github.com/jsdiazp/wordpress-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsdiazp%2Fwordpress-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30294716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["certbot","docker","docker-compose","letsencrypt","mariadb","ngnix","php","redis","wordpress"],"created_at":"2024-11-07T05:29:57.680Z","updated_at":"2026-03-09T12:04:47.542Z","avatar_url":"https://github.com/jsdiazp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress Docker Compose\n\nSimplify your WordPress development using Docker and Docker Compose.\n\nWith this repository, you can benefit from the features of the following tools to enhance your WordPress site’s performance and security:\n\n- [MariaDB](https://hub.docker.com/_/mariadb/)\n- [Nginx](https://hub.docker.com/_/nginx/) with [Certbot](https://certbot.eff.org/)\n- [PHP-FPM](https://www.php.net/manual/en/install.fpm.php)\n- [Redis](https://hub.docker.com/_/redis/)\n\nContent:\n\n- [Requirements](#requirements)\n- [Pre-installation](#pre-installation)\n- [Installation](#installation)\n- [Post-installation](#post-installation)\n  - [Request SSL certificate](#request-ssl-certificate)\n  - [Enable Wordfence](#enable-wordfence)\n  - [Enter MariaDB CLI](#enter-mariadb-cli)\n\n## Requirements\n\n1. Make sure you have the latest version of Docker Engine; to do so, you can follow the instructions in the link below:\\\n[Install Docker Engine](https://docs.docker.com/engine/install/)\n\n2. Check that ports `80` and `443` are exposed and available for use.\n\n3. Update DB root password\n\n```shell\necho \"your_password\" \u003esecrets/db_root_password.txt\n```\n\n## Pre-installation\n\nClone this GitHub repository to your local machine:\n\n```shell\ngit clone https://github.com/jsdiazp/wordpress-docker-compose.git\n```\n\nNavigate to the repository folder:\n\n```shell\ncd wordpress-docker-compose\n```\n\nEdit `wordpress-*.conf` file from the `nginx/conf.d` folder replacing the `server_name` attribute with your website domain and aliases.\n\n## Installation\n\nRun the docker compose command to start the containers:\n\n```shell\ndocker compose up -d\n```\n\n## Post-installation\n\n### Request SSL certificate\n\nTo enable HTTPS and get an SSL certificate for your site, run the following command and follow the instructions displayed:\n\n ```shell\ndocker compose exec -ti nginx certbot\n```\n\n**Note:** Make sure that the `DNS A record` for the domain and subdomains specified in the nginx `server_name` attribute point to the `public IP` of the server on which you have installed this container orchestration.\n\n### Enable Wordfence\n\nInstall the [Wordfence Security](https://wordpress.org/plugins/wordfence/) plugin on your WordPress site.\n\nEnable the Wordfence firewall by uncommenting the following line in the `wordpress-*.ini` file from the `wordpress/php` folder.\n\n```nginx\n# auto_prepend_file = '/var/www/html/wordfence-waf.php'\n```\n\nFinally, restart the Docker Compose project.\n\n```shell\ndocker compose restart\n```\n\n### Enter MariaDB CLI\n\n```shell\ndocker compose exec -ti db mariadb -u root --password=\"$(\u003csecrets/db_root_password.txt)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdiazp%2Fwordpress-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsdiazp%2Fwordpress-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsdiazp%2Fwordpress-docker-compose/lists"}