{"id":23459849,"url":"https://github.com/trylife/docker-compose-mysql8","last_synced_at":"2026-02-13T02:46:29.240Z","repository":{"id":88734194,"uuid":"374360426","full_name":"trylife/docker-compose-mysql8","owner":"trylife","description":"docker-compose-mysql8","archived":false,"fork":false,"pushed_at":"2021-06-06T15:48:25.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-13T19:11:08.542Z","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/trylife.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,"zenodo":null}},"created_at":"2021-06-06T12:56:14.000Z","updated_at":"2021-06-06T15:48:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"26d567ea-7746-4c17-9844-11db785d1de6","html_url":"https://github.com/trylife/docker-compose-mysql8","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trylife/docker-compose-mysql8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trylife%2Fdocker-compose-mysql8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trylife%2Fdocker-compose-mysql8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trylife%2Fdocker-compose-mysql8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trylife%2Fdocker-compose-mysql8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trylife","download_url":"https://codeload.github.com/trylife/docker-compose-mysql8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trylife%2Fdocker-compose-mysql8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274936008,"owners_count":25376838,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-24T06:18:39.926Z","updated_at":"2026-02-13T02:46:24.218Z","avatar_url":"https://github.com/trylife.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-compose-mysql8\n\ndocker-compose-mysql8\n\n# 使用\n\n### 1. 安装 docker-desktop \n   \n- https://docs.docker.com/docker-for-windows/install/\n- https://www.runoob.com/docker/windows-docker-install.html\n\n### 2. 克隆本仓库\n\n### 3. 复制 `docker-compose-ie.yml` 为 `docker-compose.yml`\n\n### 4. 如果端口冲突可以修改 `11100:3306` `11101:8080`\n\n- `:` 前第一个数字代表本机端口, 后边的数字代表容器端口\n\n### 5. 命令行进入到 `docker-compose-mysql8` 目录下\n\n```bash\n# 前台运行\ndocker-compose up\n\n# 后台运行\ndocker-compose up -d \n\n# 关闭\ndocker-compose down \n```\n\n### 6. 使用自带的adminer链接MySQL\n\nhttp://localhost:11101/\n\n- 服务器: `mysql`\n- 用户名: `root`\n- 密码: `123456`\n\n### 7. 容器外的项目连接mysql, 使用4中的端口 \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrylife%2Fdocker-compose-mysql8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrylife%2Fdocker-compose-mysql8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrylife%2Fdocker-compose-mysql8/lists"}