{"id":19341831,"url":"https://github.com/cocoawebstudio/wp-docker-devenv","last_synced_at":"2025-08-29T16:23:02.485Z","repository":{"id":115515249,"uuid":"238456541","full_name":"CocoaWebStudio/WP-docker-devEnv","owner":"CocoaWebStudio","description":"A ready to use docker enviroment for develop wordpress sites, plugins or templates. inspired by the official docker wordpress docker-compose example","archived":false,"fork":false,"pushed_at":"2021-08-09T15:43:20.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T08:45:52.081Z","etag":null,"topics":["docker-enviroment","wordpress","wordpress-development"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CocoaWebStudio.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":"2020-02-05T13:27:25.000Z","updated_at":"2023-07-06T12:11:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"13a51c1e-af56-488d-9fc7-403a3f6d3e7d","html_url":"https://github.com/CocoaWebStudio/WP-docker-devEnv","commit_stats":null,"previous_names":[],"tags_count":4,"template":true,"template_full_name":null,"purl":"pkg:github/CocoaWebStudio/WP-docker-devEnv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaWebStudio%2FWP-docker-devEnv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaWebStudio%2FWP-docker-devEnv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaWebStudio%2FWP-docker-devEnv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaWebStudio%2FWP-docker-devEnv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CocoaWebStudio","download_url":"https://codeload.github.com/CocoaWebStudio/WP-docker-devEnv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CocoaWebStudio%2FWP-docker-devEnv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266067347,"owners_count":23871334,"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-enviroment","wordpress","wordpress-development"],"created_at":"2024-11-10T03:32:39.965Z","updated_at":"2025-07-20T04:34:17.827Z","avatar_url":"https://github.com/CocoaWebStudio.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP-docker-devEnv\n\nA ready to use docker enviroment for develop wordpress sites, plugins or templates. inspired by the [official docker wordpress docker-compose example\n](https://hub.docker.com/_/wordpress/)\n\nit use mariadb, and wordpress fpm / linux alpine docker images.\n\n## Note\n\n**This is a dev enviroment and it's not optimise for use in production. Use it at your own risk**\n\n## Getting Started\n- first set the **.env** file. go to the root of this project:\n\n  ```` bash\n    cp .env.model .env\n  ````\n  .env contains 4 variables:\n  - WORDPRESS_DB_USER (database user for connect database and wordpress)\n  - WORDPRESS_DB_PASSWORD (User password)\n  - WORDPRESS_DB_NAME (database name)\n  - MYSQL_ROOT_PASSWORD (maria server root password)\n\n  the user and database will be set in mariadb and wordpress automatically.\n\n- Create the diectory src:\n\n  ````` bash\n    «mkdir src\n  `````\n\n- The directories:\n  - src: Here should be the wordpress code, if you left empty a new wordpress installation will be automatically installed. usefull for dev templates and/or plugins. or you can fill this directory with your entire worpress site, it will run automatically and your wp-comfig file will be automatically update with the values from .env file.\n\n  - db_dump: here you can put a sql file containing your site, this file will be automatically apply at first run. really practique for charge a database copy from your site.\n\n  - db_data: this will be automatically fill by mariadb with the database data. practique for deep database debug and preserve database data.\n\n## RUN\nMariadb image need a moment for start running create the database, user and apply the sql files. So for prevent errors during the first UP I recommend start mariadb service first, waith a 5 minutes (you can see at db_data directory when your database is complete charge) and after run wordpress service.\n\n`````\ndocker-compose up -d mariadb\n`````\n\nwait 5 min and after run:\n\n`````\ndocker-compose up -d wordpress\n`````\n\nDone, you're ready for use this dev enviroment for create amazing wordpress things!!\n\nThe next times you can run both containers at the same time, just use\n\n`````\ndocker-compose up -d\n`````\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoawebstudio%2Fwp-docker-devenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcocoawebstudio%2Fwp-docker-devenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoawebstudio%2Fwp-docker-devenv/lists"}