{"id":20179125,"url":"https://github.com/pratikshinde55/docker-compose-wordpress_mysql-blogging","last_synced_at":"2026-05-05T14:09:19.870Z","repository":{"id":200273865,"uuid":"705166569","full_name":"Pratikshinde55/Docker-Compose-Wordpress_mysql-Blogging","owner":"Pratikshinde55","description":"Using Docker-compose make Global Blogging Site. For Blogging WordPress is used, For DataBase MySQL is used \u0026 docker custom network is used to create Three-tier Architecture.","archived":false,"fork":false,"pushed_at":"2024-12-26T11:56:18.000Z","size":91,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T16:50:33.819Z","etag":null,"topics":["aws-ec2","docker","docker-automation","docker-compose","docker-compose-files","docker-network-driver","mysql-database","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/Pratikshinde55.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":"2023-10-15T08:22:22.000Z","updated_at":"2024-12-26T12:30:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"870e04db-30dd-463e-a633-f16d0c5296a1","html_url":"https://github.com/Pratikshinde55/Docker-Compose-Wordpress_mysql-Blogging","commit_stats":null,"previous_names":["pratikshinde55/docker-compose","pratikshinde55/docker-compose-wordpress_mysql-blogging"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FDocker-Compose-Wordpress_mysql-Blogging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FDocker-Compose-Wordpress_mysql-Blogging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FDocker-Compose-Wordpress_mysql-Blogging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pratikshinde55%2FDocker-Compose-Wordpress_mysql-Blogging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pratikshinde55","download_url":"https://codeload.github.com/Pratikshinde55/Docker-Compose-Wordpress_mysql-Blogging/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616682,"owners_count":19991542,"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":["aws-ec2","docker","docker-automation","docker-compose","docker-compose-files","docker-network-driver","mysql-database","wordpress"],"created_at":"2024-11-14T02:25:14.829Z","updated_at":"2026-05-05T14:09:14.830Z","avatar_url":"https://github.com/Pratikshinde55.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Three-tier Architecture of Blogging site(WordPress, MySQL, Docker network) using Docker Automation that docker-compose.\nGlobal Blogging Made Easy with Docker and WordPress.\n\n- Set-up:\n\nI use AWS EC2 Instance(AMI- Amazon linux) as Operating System for Docker and then i Install docker-compose on it.\n\n- What is Three-tier Architecture:\n\n1. For Blogging Site I use \"WordPress\".\n2. For DataBase to the Wordpress I use \"MySQL\".\n3. For Network I use own customised \"Docker network\".\n\n## Step: 1 [Install Docker \u0026 start Docker Service]\nDocker-comopse work on Docker Engine, So we need to install Docker \u0026 Start Docker Services\n\nInstall Docker Command:\n\n    yum install docker\n\nStart Docker service Command:\n\n    systemctl start docker\n\n## Step:2- [Install Docker-compose]\n### docker-compose:\ndocker-compose helps to make Automation in Docker Container, docker-compose is use for Automation, we creates Automation file by using yaml language,\ndocker-compose file must be in YAML language.\n\n\"docker-compose.yml\" is standard file name for docker-compose file.\n\n- Following steps for installation:\n\nFor download docker-compose search on google \"docker-compose standalone\":\n\ndocker-compose Standalone Install Link- [Docker-compose-download-link](https://docs.docker.com/compose/install/standalone/)\n\n![Screenshot 2023-10-12 152512](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/58760611-2f74-4641-8183-fe522db1f024)\n\ncurl downloads the Docker Compose binary for Linux into the /usr/local/bin/ directory:    \n\n    curl -SL https://github.com/docker/compose/releases/download/v2.20.3/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose\n\nFollowing command gives the downloaded docker-compose file executable permissions:\n\n    chmod +x /usr/local/bin/docker-compose\n\nchmod: This is the command to change file permissions in Unix-like operating systems.\n\n+x: This option adds execute permissions to the file. It allows the user to run the file as a program.\n\n/usr/local/bin/docker-compose: This is the path to the docker-compose file.\n\n![Screenshot 2023-10-12 150659](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/e007dc29-98d1-4ae7-9a3b-f5e2dea0fc9f)\n\n\n To check Docker-compse install or not use command:\n\n    docker-compse version\n\n\n## Step:2- [docker-compose.yml automation file]\nCreate two directories One for mysql data base volume \u0026 Second for docker-compose code:-\n \n![Screenshot 2023-10-12 153358](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/391dcbe0-afc5-4863-b35e-0d9102d433d2)\n\nThis is code written in yaml language: (docker-compose DSL is Yaml) \n\n![Screenshot 2023-10-12 171507](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/7f114fdf-977b-4157-ad34-78e93cb0c17f)\n\nTo view docker-compose file:\n\n![Screenshot 2023-10-12 171551](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/e644a6d9-fed6-4c49-b75e-15d49303a1a7)\n\nTo Run Docker-compose file the command is:\n\n     docker-compose up -d\n          \n We use (-d) detached because it helps us to run or launch Container in background\n\n- Three-tier Architecture created with the help of Docker-compose  \n \n![Screenshot 2023-10-12 172026](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/946967b4-0412-4254-8dc0-92e30626ae3e)\n\nCommand will tell us which file is used to lauch container:\n     \n     docker-compose ls\n\nCommand that give us info about running container from docker-compose file:\n\n     docker-compose ps \n\nCommand used to see logs of container:     \n     \n     docker-compose logs  \n          \n![Screenshot 2023-10-12 172518](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/35b58aac-fb58-4020-9030-6ae31f266511)\n\n\n## Step:3- [Access Wordpress from Browser]\nTo access this docker-compose setup --\u003e\u003einstance public IP+Port no.(Change EC2 instance inbound rule)\n\nThis interface shows on Google:-\n\n![Screenshot 2023-10-12 172957](https://github.com/Pratikshinde55/Docker-Compose/assets/145910708/b5f72e92-639f-43d8-89e3-c9d6f42d7bed)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikshinde55%2Fdocker-compose-wordpress_mysql-blogging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpratikshinde55%2Fdocker-compose-wordpress_mysql-blogging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpratikshinde55%2Fdocker-compose-wordpress_mysql-blogging/lists"}