{"id":16056111,"url":"https://github.com/ryichk/rails-api-on-docker","last_synced_at":"2026-01-15T23:04:10.690Z","repository":{"id":44120087,"uuid":"296367255","full_name":"ryichk/rails-api-on-docker","owner":"ryichk","description":"Boilerplate building Rails API on Docker","archived":false,"fork":false,"pushed_at":"2024-05-20T14:51:37.000Z","size":36,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T03:33:17.890Z","etag":null,"topics":["docker","docker-compose","mysql","rails-api","rspec","rubocop","terraform"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ryichk.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":"2020-09-17T15:28:38.000Z","updated_at":"2024-05-20T14:51:42.000Z","dependencies_parsed_at":"2024-10-27T16:17:48.080Z","dependency_job_id":"94f9481d-ebec-42eb-ae44-a92a4e0024a8","html_url":"https://github.com/ryichk/rails-api-on-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ryichk/rails-api-on-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Frails-api-on-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Frails-api-on-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Frails-api-on-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Frails-api-on-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryichk","download_url":"https://codeload.github.com/ryichk/rails-api-on-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryichk%2Frails-api-on-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28473974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T22:27:41.514Z","status":"ssl_error","status_checked_at":"2026-01-15T21:54:47.910Z","response_time":62,"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","mysql","rails-api","rspec","rubocop","terraform"],"created_at":"2024-10-09T02:40:30.653Z","updated_at":"2026-01-15T23:04:10.676Z","avatar_url":"https://github.com/ryichk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n## プロジェクト名を変更\n\nプロジェクトの全ファイルを`app_name`でグレップし、任意のプロジェクト名で置換してください。\n\n## .envファイル作成\n\n`.env.sample`をコピーして`.env`ファイルを作成してください。\n\n```bash\n$ cp .env.sample .env\n```\n\n.envファイルの下記環境変数の値を設定してください。\n\n- `MYSQL_DATABASE`\n\n- `MYSQL_ROOT_PASSWORD`\n\n## Docker起動\n\n```bash\n$ docker-compose build\n$ docker-compose up\n```\n\n## DB作成\n\n```bash\n$ docker-compose exec api rails db:create\n```\n\n## Dockerfileやdocker-compose.ymlの変更を反映\n\n```bash\n$ docker-compose up --build\n```\n\n## ローカルからMySQLコンテナに接続\n\n```bash\n$ mysql -u root -p -h localhost -P 3306 --protocol=tcp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryichk%2Frails-api-on-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryichk%2Frails-api-on-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryichk%2Frails-api-on-docker/lists"}