{"id":26436497,"url":"https://github.com/ranjithdb/docker-mysql-phpmyadmin","last_synced_at":"2026-05-02T20:37:52.794Z","repository":{"id":278782060,"uuid":"936756316","full_name":"ranjithdb/docker-mysql-phpmyadmin","owner":"ranjithdb","description":"MySQL database with phpMyAdmin using Docker Compose","archived":false,"fork":false,"pushed_at":"2025-02-21T17:13:32.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T20:40:55.894Z","etag":null,"topics":["docker","docker-compose","mysql","phpmyadmin"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/ranjithdb.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":"2025-02-21T16:24:01.000Z","updated_at":"2025-04-16T13:09:23.000Z","dependencies_parsed_at":"2025-02-21T17:35:03.710Z","dependency_job_id":"0a3f0435-4029-46e8-86c5-5f14c616fee8","html_url":"https://github.com/ranjithdb/docker-mysql-phpmyadmin","commit_stats":null,"previous_names":["ranjithdb/docker-mysql-phpmyadmin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ranjithdb/docker-mysql-phpmyadmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithdb%2Fdocker-mysql-phpmyadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithdb%2Fdocker-mysql-phpmyadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithdb%2Fdocker-mysql-phpmyadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithdb%2Fdocker-mysql-phpmyadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranjithdb","download_url":"https://codeload.github.com/ranjithdb/docker-mysql-phpmyadmin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjithdb%2Fdocker-mysql-phpmyadmin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32549384,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker","docker-compose","mysql","phpmyadmin"],"created_at":"2025-03-18T08:17:28.499Z","updated_at":"2026-05-02T20:37:49.650Z","avatar_url":"https://github.com/ranjithdb.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MySQL with phpMyAdmin using Docker Compose\n\nThis project sets up a MySQL database with phpMyAdmin using Docker Compose. The MySQL container is built from a custom Dockerfile that initializes the database with SQL scripts. phpMyAdmin provides a web interface to manage the database.\n\n## 🚀 Features\n- `.env` support for sensitive credentials\n- Persistent volume for MySQL data\n- Custom network for service communication\n\n---\n\n## 📦 Setup Instructions\n\n### Clone the Repository\n```bash\ngit clone https://github.com/ranjithdb/docker-mysql-phpmyadmin.git\ncd docker-mysql-phpmyadmin\n```\n\n### Create a Docker Volume and Network\n```\ndocker volume create my-volume-mysql-phpmyadmin\ndocker network create my-network-mysql-phpmyadmin\n```\n### Set Environment Variables\nCreate a .env file in the project root with the following content:\n```\nMYSQL_ROOT_PASSWORD=your-secret-password\nMYSQL_DATABASE=mydb\n```\n\n### Build and Start the Containers\n```\ndocker-compose up -d\n(or)\ndocker compose up -d\n```\nThis will:\n\n- Build the MySQL container from the Dockerfile\n- Pull the phpMyAdmin image\n- Start both services\n\n### Access phpMyAdmin\nOnce the containers are running, open your browser and go to:\n```\nhttp://localhost:8080\n```\nUse the following credentials to log in:\n\n- Username: root\n- Password: The value from the .env file\n\n### Stop and Remove Containers\n```\ndocker-compose down\n(or)\ndocker compose down\n```\n\n### Remove Volume and Network (Optional)\n```\ndocker volume rm my-volume-mysql-phpmyadmin\ndocker network rm my-network-mysql-phpmyadmin\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjithdb%2Fdocker-mysql-phpmyadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franjithdb%2Fdocker-mysql-phpmyadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjithdb%2Fdocker-mysql-phpmyadmin/lists"}