{"id":21196380,"url":"https://github.com/jpbalarini/rails-starter-docker","last_synced_at":"2026-04-17T06:34:35.449Z","repository":{"id":42607574,"uuid":"196779966","full_name":"jpbalarini/rails-starter-docker","owner":"jpbalarini","description":"A Ruby on Rails with docker integration template","archived":false,"fork":false,"pushed_at":"2023-01-19T13:46:37.000Z","size":57,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-14T21:50:05.725Z","etag":null,"topics":["docker","nginx","rails","ruby","starter","starter-template","template"],"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/jpbalarini.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}},"created_at":"2019-07-14T01:04:53.000Z","updated_at":"2019-11-03T04:11:47.000Z","dependencies_parsed_at":"2023-02-11T02:30:57.814Z","dependency_job_id":null,"html_url":"https://github.com/jpbalarini/rails-starter-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpbalarini/rails-starter-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbalarini%2Frails-starter-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbalarini%2Frails-starter-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbalarini%2Frails-starter-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbalarini%2Frails-starter-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpbalarini","download_url":"https://codeload.github.com/jpbalarini/rails-starter-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpbalarini%2Frails-starter-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31918728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["docker","nginx","rails","ruby","starter","starter-template","template"],"created_at":"2024-11-20T19:36:15.169Z","updated_at":"2026-04-17T06:34:35.432Z","avatar_url":"https://github.com/jpbalarini.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About this project\n\nThis project is intended to be used as a template for creating a Ruby on Rails project with Docker integration. You can either run it as a normal rails project via `rails server` or via docker `docker-compose up`.\n\n# Setup\nThis project was intended to run with or without Docker. For both of them you will need to correctly set all the ENV variables under the `.env` file.\nCreate an `.env` file with some needed vars (example for docker):\n\n# Setup\n\nBe sure to pupulate your .env file. An example:\n```\nRUBY_VER=2.5.1\nSECRET_KEY_BASE=SOME_SECRET_KEY_BASE;\nPOSTGRES_DB=rails-app\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=\nPORT=80\n```\n\nThis will difer on each machine/setup\n\n# Running\nOnce setup is complete, you can spin everything up with:\n```\ndocker-compose up --build\n```\nThis will start the rails web server and a postgres database, building the image again (to take into account new changes).\n\n# Useful commands\nGet a list of running docker processes:\n```\ndocker ps\n```\n\nRun a terminal inside a docker container\n```\ndocker exec -it DOCKER_CONTAINER_NAME_OR_ID bash\n```\n\nTerminate everything:\n```\ndocker compose down\n```\n\nSpin up specific containers from the `docker-compose` file:\n```\ndocker compose up web\n```\nThis will only start the web server.\n\n# How to run seeds\n1. `docker exec -it rails_starter_web bash`\n2. `bundle exec rails db:seed`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpbalarini%2Frails-starter-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpbalarini%2Frails-starter-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpbalarini%2Frails-starter-docker/lists"}