{"id":28841008,"url":"https://github.com/algolia/wordpress-docker","last_synced_at":"2025-06-28T18:08:09.646Z","repository":{"id":66050953,"uuid":"65832874","full_name":"algolia/wordpress-docker","owner":"algolia","description":"Simple docker based environment for WordPress plugins and themes development.","archived":false,"fork":false,"pushed_at":"2022-12-12T19:11:23.000Z","size":18,"stargazers_count":36,"open_issues_count":4,"forks_count":23,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-06-19T15:52:53.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/algolia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2016-08-16T15:45:30.000Z","updated_at":"2025-01-29T08:04:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"77fdadc0-1ec3-461f-9975-21ae1a03e957","html_url":"https://github.com/algolia/wordpress-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/algolia/wordpress-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Fwordpress-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Fwordpress-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Fwordpress-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Fwordpress-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algolia","download_url":"https://codeload.github.com/algolia/wordpress-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algolia%2Fwordpress-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262473978,"owners_count":23316904,"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":[],"created_at":"2025-06-19T15:42:43.593Z","updated_at":"2025-06-28T18:08:09.640Z","avatar_url":"https://github.com/algolia.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple docker based environment for WordPress plugins and themes development.\n\n## Requirements\n\n- docker (native, no boot2docker)\n- docker-compose\n\n## Launch the environment\n\n**Be sure you have nothing running on port 80, and also that you are using the native version of Docker.**\n\n```\n$ ./restart.sh\n```\n\nYou should now be able to access the WordPress instance on `http://localhost` and the admin panel on `http://localhost/wp-admin/`.\n\n**If you get a lot of errors like the following, simply restart docker:**\n```\nWarning: copy(/var/www/html//wp-content/themes/twentyfourteen/category.php): failed to open stream: No such file or directory in phar:///bin/wp/php/commands/core.php on line 220\n```\n\n## Launch environment without loosing database state\n\nIf at some point you containers stopped and you don't want to loose your database state, simply run:\n```bash\n$ docker-compose up\n```\n\n## Connect to the WordPress admin UI\n\nGo to [http://localhost/wp-admin/](http://localhost/wp-admin/)\n\nAdmin user credentials:\n- login: admin\n- password: admin\n\n## Debugging\n\nThe whole WordPress dir is mounted as a volume so that you can edit anything on the fly in `./wordpress`.\n\n## Developing WordPress plugins and themes\n\nSimply drop your plugins in the `wordpress/wp-content/plugins` directory or your themes in the `wordpress/wp-content/themes` directory.\n\nAs an alternative you could also directly upload zip archives via the admin UI.\n\nYou should now be able to enable the themes and plugins from the WordPress backoffice.\n\n**No need to `restart` the docker container as the whole WordPress directory is mounted as a volume. You can modify any file on the fly.**\n\n**Also note that when you restart your container, plugin and theme files are kept, only core files and database will be reset.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Fwordpress-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgolia%2Fwordpress-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgolia%2Fwordpress-docker/lists"}