{"id":20181941,"url":"https://github.com/devteds/docker-rails-template","last_synced_at":"2026-04-08T23:33:40.793Z","repository":{"id":132073102,"uuid":"78992756","full_name":"devteds/docker-rails-template","owner":"devteds","description":"Template that can help create rails application on docker faster.","archived":false,"fork":false,"pushed_at":"2018-02-22T01:27:10.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T06:36:12.834Z","etag":null,"topics":["containerization","docker","docker-compose","mysql","rails","rails-api","rails5","ruby","ruby-on-rails"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/devteds.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":"2017-01-15T03:38:24.000Z","updated_at":"2020-11-02T12:41:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"fda834c0-8cd4-42c9-a4cd-ea5aa1de87d7","html_url":"https://github.com/devteds/docker-rails-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devteds/docker-rails-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devteds%2Fdocker-rails-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devteds%2Fdocker-rails-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devteds%2Fdocker-rails-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devteds%2Fdocker-rails-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devteds","download_url":"https://codeload.github.com/devteds/docker-rails-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devteds%2Fdocker-rails-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["containerization","docker","docker-compose","mysql","rails","rails-api","rails5","ruby","ruby-on-rails"],"created_at":"2024-11-14T02:37:10.791Z","updated_at":"2026-04-08T23:33:40.776Z","avatar_url":"https://github.com/devteds.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby On Rails with Docker - Template\n\nUse this code and follow the instructions below to create and run a new rails application using Docker \u0026 Docker Compose.\n\n## Tested on\n\n* macOS - 10.12\n* Docker - 1.12.6, 1.13.0\n* Docker compose - 1.9.0, 1.10.0\n\n## Instructions / commands\n\n```\n# Go to your projects or work directory and,\ngit clone https://github.com/devteds/docker-rails-template.git myapp\ncd myapp\nrm -rf .git\ndocker-compose run app rails new . --force --database=mysql --skip-bundle\nmv database.yml config/database.yml\ndocker-compose build\ndocker-compose up\n# http://localhost:3001/\n```\n\n## Build your application\n\nNow that you have the rails application setup, start adding features - controllers, views, models, resources, migrations etc.\n\n## Some useful commands\n\n```\nbin/d_rails g scaffold post title body:text\n# or\n# docker-compose run --rm app rails g scaffold post title body:text\nbin/d_rails db:migrate\nbin/d_rails c\n```\n\n## Rails API-only \n\nIf you are creating an API-only application, with no UI or web-ui components, you may change the above \"rails new ...\" command as,\n\n```\ndocker-compose run app rails new . --force --database=mysql --skip-bundle --api\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevteds%2Fdocker-rails-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevteds%2Fdocker-rails-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevteds%2Fdocker-rails-template/lists"}