{"id":16915159,"url":"https://github.com/joshbuchea/starter-docker-wordpress","last_synced_at":"2025-04-11T16:21:38.171Z","repository":{"id":69915500,"uuid":"79166842","full_name":"joshbuchea/starter-docker-wordpress","owner":"joshbuchea","description":"Docker WordPress Starter","archived":false,"fork":false,"pushed_at":"2017-05-19T23:06:11.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T12:22:01.285Z","etag":null,"topics":["docker","starter","wordpress"],"latest_commit_sha":null,"homepage":"","language":null,"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/joshbuchea.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":"2017-01-16T22:51:40.000Z","updated_at":"2022-12-29T17:34:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a36a7b70-da9c-495e-b304-455552380d47","html_url":"https://github.com/joshbuchea/starter-docker-wordpress","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/joshbuchea%2Fstarter-docker-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuchea%2Fstarter-docker-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuchea%2Fstarter-docker-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshbuchea%2Fstarter-docker-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshbuchea","download_url":"https://codeload.github.com/joshbuchea/starter-docker-wordpress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248438557,"owners_count":21103430,"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","starter","wordpress"],"created_at":"2024-10-13T19:17:20.092Z","updated_at":"2025-04-11T16:21:38.157Z","avatar_url":"https://github.com/joshbuchea.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starter Docker WordPress\n\n## Getting Started\n\n- Build \u0026 Start Container(s), run in background: `docker-compose up -d`\n- Start Container(s): `docker-compose start`\n- Stop Containers: `docker-compose stop`\n- Stop \u0026 Remove Containers: `docker-compose down`\n\n## Containers\n\n- MySQL: Port `3306`\n- WordPress: Port `8000`\n- phpMyAdmin: Port `8080`\n- Search \u0026 Replace DB: Port `8081`\n\n## Backup Container\n\n- Docker Hub: https://hub.docker.com/r/aveltens/wordpress-backup/\n- GitHub Repo: https://github.com/angelo-v/wordpress-backup\n\nCommands:\n\n- Backup WordPress (HTML \u0026 DB): `docker exec [backup_container_id] backup`\n- Restore WordPress from backup: `docker exec [backup_container_id] restore [yyyyMMdd]`\n\nFeatures:\n\n- Automatic Backups\n- Automatic Cleanup\n- Manual backup w/ one command\n- Manual restore w/ one command\n\nThe backup container makes a few assumptions:\n\n- mysql container has a hostname of `mysql`\n- mysql service has optional user/pwd defined\n\n## From docker-compose.yml\n\n```\n###\n# What's included:\n# - WordPress container (defaults to port 8000)\n# - database container (connected automagically to WordPress)\n# - phpmyadmin container (defaults to port 8080)\n# - searchreplacedb container (defaults to port 8081, connects automagically to mysql)\n#\n#\n# Instructions:\n#\n# Make your directory look like this:\n#\n# - ./docker-compose.yml (this file)\n# - ./www (should contain www files for developing)\n# - ./initdb (All sql files in here will be run when docker-compose is first ran)\n# - ./initdb/dump.sql (Example of putting your mysql dump in here)\n#\n# Note on importing SQL files:\n#   By default the WordPress and SearchReplaceDB contianers use the database called `wordpress`.\n#   It is reccomened that your sql init file starts with 'USE `wordpress`;' to make sure\n#   the correct database is selected.\n#\n# To get started, run:\n# docker-compose up -d\n#\n#\n# Troubleshooting:\n#\n# WordPress and/or phpmyadmin indicate there's no mysql connection\n# - If you have sql files in initdb, it may take a while to import, delaying mysql to start.\n#   You can check the status of mysql with docker logs\n#\n# SearchReplaceDB is giving me errors on my wordpress tables\n# - It's possible your import sql files\n#\n# How do I re-import?\n# - To reimport, you just need to stop the docker containers (docker-compose down),\n#   delete the .data directory created by mysql, and then run docker-compose up -d.\n##\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbuchea%2Fstarter-docker-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshbuchea%2Fstarter-docker-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshbuchea%2Fstarter-docker-wordpress/lists"}