{"id":22044900,"url":"https://github.com/leabs/wordpress-docker-compose","last_synced_at":"2026-04-11T06:32:01.713Z","repository":{"id":265387751,"uuid":"867109652","full_name":"leabs/wordpress-docker-compose","owner":"leabs","description":"This is a simple docker-compose file to run a Wordpress site with MySQL and phpMyAdmin.","archived":false,"fork":false,"pushed_at":"2024-10-07T12:44:54.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T04:43:49.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/leabs.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":"2024-10-03T13:19:56.000Z","updated_at":"2024-10-07T12:44:58.000Z","dependencies_parsed_at":"2024-11-29T09:52:51.477Z","dependency_job_id":null,"html_url":"https://github.com/leabs/wordpress-docker-compose","commit_stats":null,"previous_names":["leabs/wordpress-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leabs%2Fwordpress-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leabs%2Fwordpress-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leabs%2Fwordpress-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leabs%2Fwordpress-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leabs","download_url":"https://codeload.github.com/leabs/wordpress-docker-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245111946,"owners_count":20562512,"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":"2024-11-30T13:09:33.332Z","updated_at":"2025-12-30T23:31:51.381Z","avatar_url":"https://github.com/leabs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordpress MySQL phpMyAdmin Docker Compose\n\nThis is a simple docker-compose file to run a Wordpress site with MySQL and phpMyAdmin that can be deployed to an EC2 instance (Amazon Linux 2 AMI).\n\n## Usage\n\n_Note_: If you're using an M series mac, you need to install Rosetta with:\n`softwareupdate --install-rosetta` if you wish to build locally. The images are set to \"platform: linux/amd64\" for maximum compatibility.\n\n- If you want to try it locally, you can clone this repo and simply run `docker-compose up` assuming you have docker installed with the `wordpress`, `mysql`, and `phpmyadmin` images running.\n\n## Deployment to EC2\n\nEC2 instance:\n\n- Create an EC2 instance with Amazon Linux 2 AMI\n- `sudo yum update -y` # Update the system\n- `sudo amazon-linux-extras install docker` # Install docker\n- `start docker.service` or `sudo systemctl start docker` # Start the docker service\n- `sudo usermod -a -G docker ec2-user` # Add ec2-user to the docker group so we don't have to use sudo\n- You must restart and log back in after making user group changes with `exit`\n- `mkdir downloads` # Create a directory for the project\n- `cd downloads` # Change to the directory\n\nLocal machine:\n\n- Clone this repository to your local machine\n- Copy AWS .pem file is in this directory (it is gitignored!)\n- `chmod 400 \"your-key.pem\"` # Change the permissions of the key file if needed\n- `scp -i \"your-key.pem\" docker-compose.yaml ec2-user@public_ip4_address:~/downloads`\n\nEC2 instance:\n\n- `sudo curl -L \"https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)\" -o /usr/local/bin/docker-compose` # Download docker-compose\n- `sudo chmod +x /usr/local/bin/docker-compose` # Make docker-compose executable\n- `docker-compose up` # Start the containers!\n\n#### Extra commands:\n\n- `sudo systemctl enable docker` Enable Docker to start on boot (optional)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleabs%2Fwordpress-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleabs%2Fwordpress-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleabs%2Fwordpress-docker-compose/lists"}