{"id":26928254,"url":"https://github.com/kerolloz/rails-docker","last_synced_at":"2026-01-28T00:34:16.080Z","repository":{"id":38757582,"uuid":"244769654","full_name":"kerolloz/rails-docker","owner":"kerolloz","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-19T00:28:33.000Z","size":705,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T04:18:52.075Z","etag":null,"topics":["docker","docker-compose","postgresql","rails","redis","ruby"],"latest_commit_sha":null,"homepage":null,"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/kerolloz.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-04T00:13:51.000Z","updated_at":"2024-02-24T21:52:06.000Z","dependencies_parsed_at":"2023-02-10T21:30:59.857Z","dependency_job_id":null,"html_url":"https://github.com/kerolloz/rails-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kerolloz/rails-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerolloz%2Frails-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerolloz%2Frails-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerolloz%2Frails-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerolloz%2Frails-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kerolloz","download_url":"https://codeload.github.com/kerolloz/rails-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kerolloz%2Frails-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28829328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"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","postgresql","rails","redis","ruby"],"created_at":"2025-04-02T04:18:55.168Z","updated_at":"2026-01-28T00:34:16.025Z","avatar_url":"https://github.com/kerolloz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Rails\n\n\u003e The purpose of this very simple web app is to apply some of the knowledge I learned from [Docker for Rails Developers](https://pragprog.com/book/ridocker/docker-for-rails-developers) book _by Rob Isenberg_.\n\nI used _PostgreSQL_ to keep a table of _posts_.  \nI used _Redis_ to keep a simple counter of _welcome_ page views.\n\n## Requirements\n\nFor sure you need to have [Docker](https://docker.io) and [Docker Compose](https://docs.docker.com/compose/install/) installed.\n\n## Usage\n\nUse the following command to run the app on [localhost:3000](localhost:3000)\n\n```sh\ndocker-compose up -d\n```\n\nUse the following commad to migrate the database changes and seed with data\n\n```sh\ndocker-compose exec web bundle exec rake db:migrate db:seed\n```\n\nOn \u003chttp://localhost:3000/\u003e you should get\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"welcome screenshot\" src=\"screenshots/welcome.png\"\u003e\n\u003c/p\u003e\n\nOn \u003chttp://localhost:3000/welcome\u003e you should get\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"posts screenshot\" src=\"screenshots/posts.png\"\u003e\n\u003c/p\u003e\n\nStop the app using `docker-compose down`!\n\n## Testing\n\n[![Ruby](https://github.com/kerolloz/rails-docker/actions/workflows/testing-with-docker.yml/badge.svg)](https://github.com/kerolloz/rails-docker/actions/workflows/testing-with-docker.yml)\n\n```bash\ndocker-compose up -d\ndocker-compose run -e \"RAILS_ENV=test\" web bin/rake db:create db:migrate\ndocker-compose run -e \"RAILS_ENV=test\" web bin/rake assets:precompile\ndocker-compose run -e \"RAILS_ENV=test\" web bin/rake test\n```\n\n## Diagram\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"diagram image\" src=\"screenshots/diagram.png\"\u003e\n\u003c/p\u003e\n\nYou can find out more at \u003chttps://docs.docker.com/compose/rails\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerolloz%2Frails-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkerolloz%2Frails-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkerolloz%2Frails-docker/lists"}