{"id":24731493,"url":"https://github.com/basemax/docker-wordpress-php","last_synced_at":"2025-07-24T20:34:39.878Z","repository":{"id":270823878,"uuid":"910994696","full_name":"BaseMax/docker-wordpress-php","owner":"BaseMax","description":"A robust Docker-based development environment for WordPress, complete with Nginx, PHP-FPM, MariaDB, phpMyAdmin, and a file manager. This setup ensures a seamless and efficient WordPress development experience with all required tools and configurations pre-installed.","archived":false,"fork":false,"pushed_at":"2025-01-03T14:27:28.000Z","size":15784,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T16:14:22.985Z","etag":null,"topics":["docker","docker-compose","docker-compose-files","docker-compose-template","docker-template","docker-wordpress","docker-wp","wordpress","wordpress-docker","wordpress-template","wp","wp-docker"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/BaseMax.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":"2025-01-02T02:14:06.000Z","updated_at":"2025-01-06T06:46:13.000Z","dependencies_parsed_at":"2025-01-03T11:36:45.893Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/docker-wordpress-php","commit_stats":null,"previous_names":["basemax/docker-wordpress-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdocker-wordpress-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdocker-wordpress-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdocker-wordpress-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fdocker-wordpress-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/docker-wordpress-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244981293,"owners_count":20542288,"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":["docker","docker-compose","docker-compose-files","docker-compose-template","docker-template","docker-wordpress","docker-wp","wordpress","wordpress-docker","wordpress-template","wp","wp-docker"],"created_at":"2025-01-27T16:50:41.063Z","updated_at":"2025-03-22T15:45:29.389Z","avatar_url":"https://github.com/BaseMax.png","language":"PHP","readme":"# Docker WordPress PHP\n\nA robust Docker-based development environment for WordPress, complete with Nginx, PHP-FPM, MariaDB, phpMyAdmin, and a file manager. This setup ensures a seamless and efficient WordPress development experience with all required tools and configurations pre-installed.\n\n## Features\n\n- **Nginx**: Lightweight and fast web server for serving WordPress sites.\n- **PHP 8.1**: Optimized PHP-FPM with essential modules for WordPress.\n- **MariaDB**: Reliable and high-performance database server.\n- **phpMyAdmin**: Web-based database management tool.\n- **File Manager**: Manage files through a lightweight browser-based interface.\n- **Custom Configurations**: Easily customizable with user-defined settings for PHP, Nginx, and MariaDB.\n\n## Project Structure\n\n```\n.\n├── assets              # Resources like themes, plugins, etc.\n├── config              # Configuration files for PHP, Nginx, and MariaDB.\n├── database            # Database volumes for MariaDB and phpMyAdmin.\n│   ├── filemanager     # File manager database.\n│   ├── mariadb         # MariaDB data directory.\n│   └── phpmyadmin      # phpMyAdmin configuration.\n├── logs                # Log files for debugging.\n├── nginx               # Nginx configuration files.\n└── root                # WordPress files.\n```\n\n## Getting Started\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- Docker\n- Docker Compose\n\n### Setup\n\n1. Clone this repository:\n   ```bash\n   git clone https://github.com/BaseMax/docker-wordpress-php.git\n   cd docker-wordpress-php\n   ```\n\n2. Create a `.env` file with the following variables:\n   ```env\n   NAME=maysub_mydomain_com\n   DOMAIN_NAME=maysub.mydomain.com\n   MARIADB_DATABASE=wordpress\n   MARIADB_USER=wp_user\n   MARIADB_PASSWORD=wp_password\n   MARIADB_ROOT_PASSWORD=root_password\n   FILEMANAGER_USERNAME=myroot\n   FILEMANAGER_PASSWORD=jhdfjgjdfghuhuihuih34ui5hui$?\u003e..,,\n   PORT_HTTP=80\n   PORT_HTTPS=443\n   PORT_PHPMYADMIN=8081\n   PORT_FILEMANAGER=8082\n   ```\n\n3. Start the containers:\n   ```bash\n   docker-compose up -d\n   or\n   docker-compose down \u0026\u0026 docker-compose up --build\n   ```\n\n4. Access the services:\n   - WordPress: [http://localhost](http://localhost)\n   - phpMyAdmin: [http://localhost:8081](http://localhost:8081)\n   - File Manager: [http://localhost:8082](http://localhost:8082)\n\n### Stopping the Containers\n\nTo stop and remove the containers:\n\n```bash\ndocker-compose down\n```\n\n## Customization\n\n### Nginx\n\nEdit `nginx/site.conf` to customize the Nginx configuration.\n\n### PHP\n\nModify `config/php.ini` for PHP settings such as memory limits, execution time, and more.\n\n### MariaDB\n\nAdjust `config/mariadb.cnf` for database-specific configurations.\n\n## File Manager\n\nThe file manager is a lightweight web-based file management tool included in this setup. You can access it at [http://localhost:8082](http://localhost:8082).\n\n## Troubleshooting\n\n- **Database Connection Issues**:\n  Ensure the database credentials in `.env` match your WordPress configuration.\n\n- **Permission Issues**:\n  Ensure correct ownership and permissions for the `root` directory.\n  ```bash\n  sudo chown -R $(id -u):$(id -g) root\n  ```\n\n- **Log Files**:\n  Check the `logs` directory for detailed error messages.\n\n## Contributions\n\nContributions are welcome! Please feel free to submit a pull request or open an issue.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\nHappy developing with Docker and WordPress!\n\nCopyright 2025, Max Base\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fdocker-wordpress-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fdocker-wordpress-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fdocker-wordpress-php/lists"}