{"id":24926435,"url":"https://github.com/oanhnn/example-wordpress-with-docker","last_synced_at":"2026-03-06T23:32:38.293Z","repository":{"id":73395404,"uuid":"200975304","full_name":"oanhnn/example-wordpress-with-docker","owner":"oanhnn","description":":+1: An example for developing Wordpress sites with Docker and deploy to AWS Elastic Beanstalk","archived":false,"fork":false,"pushed_at":"2026-02-11T06:46:33.000Z","size":43,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T14:25:21.376Z","etag":null,"topics":["aws","docker","docker-compose","elasticbeanstalk","php","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/oanhnn.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-07T05:00:06.000Z","updated_at":"2026-02-11T06:46:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"6225a334-23d1-44ee-a0e2-519320f079c0","html_url":"https://github.com/oanhnn/example-wordpress-with-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oanhnn/example-wordpress-with-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-wordpress-with-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-wordpress-with-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-wordpress-with-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-wordpress-with-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oanhnn","download_url":"https://codeload.github.com/oanhnn/example-wordpress-with-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oanhnn%2Fexample-wordpress-with-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30203353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["aws","docker","docker-compose","elasticbeanstalk","php","wordpress"],"created_at":"2025-02-02T12:52:16.335Z","updated_at":"2026-03-06T23:32:38.272Z","avatar_url":"https://github.com/oanhnn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oanhnn/example-wordpress-with-docker\n\nAn example for developing Wordpress sites with Docker and deploy to AWS Elastic Beanstalk\n\n## Requiments\n\n- Bash shell\n- Git\n- Docker\n- Docker Compose plugin\n\n## Project organisation\n\nThis is what each item is for:\n\n* `app/` – The WordPress application files are in this directory.\n* `bin/` – Useful command-line scripts.\n* `data/` – MySQL dump files go here.\n* `docker/` – Files required by the Docker setup are in this directory.\n* `compose.yml` – Development orchestration config file.\n* `Dockerrun.aws.json` - Elastic Beanstalk config file.\n\n## Dev\n\n#### Setup project\n\n```\n$ git clone git@github.com:oanhnn/example-wordpress-with-docker.git project_dir\n$ cd project_dir\n$ cp .env.example .env\n$ mkdir app\n$ docker compose up -d\n```\n\n#### Backup database\n\n```\n$ bin/backup-db.sh data/dump-20190807-102134.sql\n```\n\n#### Restore database\n\n```\n$ bin/restore-db.sh data/dump-20190807-102134.sql\n```\n\n#### Change site URL\n\n```\n$ bin/change-url.sh http://dev.example.com https://example.com\n```\n\n## Deploy to AWS Elastic Beanstalk\n\nFollow the steps below to deploy this application to an Elastic Beanstalk Multi-container Docker environment. Accept the default settings unless indicated otherwise in the steps below:\n\n1. Download the ZIP file from the Releases section of this repository.\n2. Login to the [Elastic Beanstalk Management Console](https://console.aws.amazon.com/elasticbeanstalk)\n3. Click ***Create New Application*** and give your app a name and description\n4. Click ***Create web server*** and select an IAM instance profile to use.\n   \u003e Note: Please ensure the IAM instance profile you select has the necessary permissions. For more information, see [Container Instance Role](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_ecs.html#create_deploy_docker_ecs_role)\n5. Choose ***Multi-container Docker*** in the ***Predefined configuration*** dropdown and click ***Next***\n6. Upload the ZIP file downloaded in step 1\n7. Review and launch the application\n\n## Contributing\n\nAll code contributions must go through a pull request and approved by a core developer before being merged. \nThis is to ensure proper review of all the code.\n\nFork the project, create a feature branch, and send a pull request.\n\nIf you would like to help take a look at the [list of issues](https://github.com/oanhnn/example-wordpress-with-docker/issues).\n\n## License\n\nThis project is released under the MIT License.   \nCopyright © 2022 [Oanh Nguyen](https://github.com/oanhnn)   \nPlease see [License File](https://github.com/oanhnn/example-wordpress-with-docker/blob/master/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanhnn%2Fexample-wordpress-with-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foanhnn%2Fexample-wordpress-with-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foanhnn%2Fexample-wordpress-with-docker/lists"}