{"id":26883805,"url":"https://github.com/jiro4989/docker-test","last_synced_at":"2026-04-13T01:40:24.028Z","repository":{"id":80273960,"uuid":"191882597","full_name":"jiro4989/docker-test","owner":"jiro4989","description":"Dockerでシステムを組む練習。どんどん拡張していく過程を記録する","archived":false,"fork":false,"pushed_at":"2019-06-26T17:24:50.000Z","size":3923,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T17:51:14.648Z","etag":null,"topics":["docker","docker-compose","go","infra","practice","service","test"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jiro4989.png","metadata":{"files":{"readme":"README.adoc","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":"2019-06-14T05:45:03.000Z","updated_at":"2021-01-22T00:28:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f07ebad9-a62b-4a7a-8e5c-ceaba16f7ee6","html_url":"https://github.com/jiro4989/docker-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jiro4989/docker-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fdocker-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fdocker-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fdocker-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fdocker-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiro4989","download_url":"https://codeload.github.com/jiro4989/docker-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiro4989%2Fdocker-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"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":["docker","docker-compose","go","infra","practice","service","test"],"created_at":"2025-03-31T17:37:14.818Z","updated_at":"2026-04-13T01:40:24.019Z","avatar_url":"https://github.com/jiro4989.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"= docker-services\n\nDockerでシステムを組むときの構成を組む練習。\n数字が大きくなるに連れて機能を追加している。\n\n== 01_simple\n\nすごく単純に、プロキシサーバとAPIサーバを連携する。\n構成は1:1\n\n== 02_db\n\nAPIサーバがダミーデータではなくDBのデータを返すようにする。\n構成は1:1:1\n\n== 03_proxy\n\nHTMLを返すようにし、静的コンテンツのリクエストとAPIリクエストを\nhttpdのプロキシでwebサーバとdbサーバに振り分ける。\n\n== 04_multi\n\nweb:api:db = 1:1:1 だったコンテナ構成を複数台構成にし、スケール容易にする。\nproxy:web:api:db = 1:4:2:1 にする。\n\n== 05_log\n\nコンテナ外にログを保存できるようにし、障害発生時の調査を容易にする。\n\n== 06_testable (TODO)\n\nAPIのDBアクセスしている箇所をモックに切り替えて単体テスト可能にする。\n\n== 07_config (TODO)\n\nコンテナ内にハードコードされている設定値（ポート番号など）をコンテナから外だし、\n開発環境用の設定ファイル、本番環境用の設定ファイルを切り替えるだけで環境を切り替\nえられるようにし、コンテナ構成を使いまわせるようにする。\n\n== 08_multidb\n\nDBを冗長化する。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Fdocker-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiro4989%2Fdocker-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiro4989%2Fdocker-test/lists"}