{"id":20514496,"url":"https://github.com/jesusgautamah/lucy_dockerunner","last_synced_at":"2025-08-16T08:12:41.131Z","repository":{"id":65817672,"uuid":"600601404","full_name":"JesusGautamah/lucy_dockerunner","owner":"JesusGautamah","description":"This gem is a tool to run docker containers with rake commands, good for CI/CD and Rails projects","archived":false,"fork":false,"pushed_at":"2023-06-18T15:33:08.000Z","size":63,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T05:13:57.392Z","etag":null,"topics":["containers","docker","docker-compose","docker-container","gem","rails","rake","ruby","ruby-on-rails","tasks","wrapper"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/lucy_dockerunner/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JesusGautamah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-02-12T01:36:39.000Z","updated_at":"2025-04-07T03:16:33.000Z","dependencies_parsed_at":"2024-11-15T12:16:42.742Z","dependency_job_id":null,"html_url":"https://github.com/JesusGautamah/lucy_dockerunner","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"63be9dbf9c2b02c4ca2d120c8d80ce4aad4a4790"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JesusGautamah/lucy_dockerunner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusGautamah%2Flucy_dockerunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusGautamah%2Flucy_dockerunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusGautamah%2Flucy_dockerunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusGautamah%2Flucy_dockerunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JesusGautamah","download_url":"https://codeload.github.com/JesusGautamah/lucy_dockerunner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JesusGautamah%2Flucy_dockerunner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270684384,"owners_count":24627783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"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":["containers","docker","docker-compose","docker-container","gem","rails","rake","ruby","ruby-on-rails","tasks","wrapper"],"created_at":"2024-11-15T21:16:53.556Z","updated_at":"2025-08-16T08:12:41.063Z","avatar_url":"https://github.com/JesusGautamah.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lucy Dockerunner\n\nLucy Dockerunner is a Ruby gem that provides a simple wrapper around the Docker Compose CLI to make it easier to run Docker Compose commands from ruby projects.\n\n[![Gem Version](https://badge.fury.io/rb/lucy_dockerunner.svg)](https://badge.fury.io/rb/lucy_dockerunner)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Ruby Version](https://img.shields.io/badge/Ruby-2.6.0%2B-blue.svg)](https://www.ruby-lang.org/en/)\n\nRuby version: \u003e= 2.6.0\n\nThis gem version: 0.2.0\n\n## Dependencies\n\n* [Docker](https://www.docker.com/)\n* [Docker Compose](https://docs.docker.com/compose/)\n\n## Files\nThe default file is set to `docker-compose.yml`, but you can change it setting the `LUCY_FILE` environment variable.\n\n## Services\nCheck services in `compose.rake` file.\n\n## Installation\n\nYou can install the gem by executing:\n\n    $ gem install lucy_dockerunner\n\nOr add it to your Gemfile:\n\n    gem 'lucy_dockerunner'\n\n## Usage\nIf you want to use superuser privileges, you can set the `LUCY_SU` with your superuser command, for example:\n\n    $ export LUCY_SU=\"sudo\"\nOr in `.env` `LUCY_SU=sudo`\n\n### Add the following code to your Rakefile to load the tasks\n````ruby\nrequire 'lucy_dockerunner'\nrequire \"dotenv/load\"\n\nLucyDockerunner.load_tasks\n````\n## Docker actions(more services in compose.rake file)\n* `rake compose:install` - build docker compose and migrate the database\n* `rake compose:build` - build docker compose services\n* `rake compose:up` - start the docker compose services\n* `rake compose:down` - stop the docker compose services\n* `rake compose:status` - show the status of the docker compose services\n* `rake compose:shell` - open a shell in the web service\n* `rake compose:db_detach` - detach the database from the docker compose services\n* `rake compose:redis_detach` - detach the redis from the docker compose services\n* `rake compose:back_detach` - detach the backend(redis, sidekiq, db) from the docker compose services\n* `rake compose:restart` - restart the docker compose services\n* `rake compose:clean_all` - clean all docker compose services\n* `rake compose:clean_images` - clean all docker compose images\n* `rake compose:clean_volumes` - clean all docker compose volumes\n* `rake compose:clean_orphans` - clean all docker compose orphans\n* `rake compose:clean_containers` - clean all docker compose containers\n\n## Database actions\n* `rake compose_db:migrate` - migrate the database\n* `rake compose_db:reset` - reset the database\n* `rake compose_db:drop` - drop the database\n* `rake compose_db:create` - create the database\n* `rake compose_db:seed` - seed the database\n* `rake compose_db:rollback` - rollback the database\n* `rake compose_db:setup` - setup the database\n* `rake compose_db:complete_setup` - complete setup the database\n* `rake compose_db:reset_setup` - drop and setup the database\n* `rake compose_db:reset` - reset the database\n\n## Tests actions\n* `rake compose_test:all` - run all tests\n* `rake compose_test:clean_all` - run all tests after cleaning docker compose services\n* `rake compose_test:controllers` - run controllers tests\n* `rake compose_test:models` - run models tests\n* `rake compose_test:requests` - run requests tests\n* `rake compose_test:helpers` - run helpers tests\n* `rake compose_test:mailers` - run mailers tests\n* `rake compose_test:routing` - run routing tests\n* `rake compose_test:views` - run views tests\n\n## LOGS actions\n* `rake compose_logs:web` - show web logs\n* `rake compose_logs:db` - show db logs\n* `rake compose_logs:redis` - show redis logs\n* `rake compose_logs:sidekiq` - show sidekiq logs\n* `rake compose_logs:all` - show all logs\n* `rake compose_logs:tail_web` - tail web logs\n* `rake compose_logs:tail_db` - tail db logs\n* `rake compose_logs:tail_redis` - tail redis logs\n* `rake compose_logs:tail_sidekiq` - tail sidekiq logs\n* `rake compose_logs:tail_all` - tail all logs\n\n## Assets actions\n* `rake compose_assets:precompile` - precompile assets\n* `rake compose_assets:clean` - clean assets\n* `rake compose_assets:clobber` - clobber assets\n\n\n## Start the docker compose services\n````bash\n$ rake compose:up\n````\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/JesusGautamah/lucy_dockerunner. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/JesusGautamah/lucy_dockerunner/blob/master/CODE_OF_CONDUCT.md).\n\n\n## [![Repography logo](https://images.repography.com/logo.svg)](https://repography.com) / Recent activity [![Time period](https://images.repography.com/33522702/JesusGautamah/lucy_dockerunner/recent-activity/7YfytFwl78FgWgAtJeO7jReo0y6GD6YPifcYNBxOxaE/yhI9H3pCZlEkfuvJLU9LC32UBu1c8k5toFvgUDmttdM_badge.svg)](https://repography.com)\n[![Timeline graph](https://images.repography.com/33522702/JesusGautamah/lucy_dockerunner/recent-activity/7YfytFwl78FgWgAtJeO7jReo0y6GD6YPifcYNBxOxaE/yhI9H3pCZlEkfuvJLU9LC32UBu1c8k5toFvgUDmttdM_timeline.svg)](https://github.com/JesusGautamah/lucy_dockerunner/commits)\n[![Issue status graph](https://images.repography.com/33522702/JesusGautamah/lucy_dockerunner/recent-activity/7YfytFwl78FgWgAtJeO7jReo0y6GD6YPifcYNBxOxaE/yhI9H3pCZlEkfuvJLU9LC32UBu1c8k5toFvgUDmttdM_issues.svg)](https://github.com/JesusGautamah/lucy_dockerunner/issues)\n[![Pull request status graph](https://images.repography.com/33522702/JesusGautamah/lucy_dockerunner/recent-activity/7YfytFwl78FgWgAtJeO7jReo0y6GD6YPifcYNBxOxaE/yhI9H3pCZlEkfuvJLU9LC32UBu1c8k5toFvgUDmttdM_prs.svg)](https://github.com/JesusGautamah/lucy_dockerunner/pulls)\n[![Top contributors](https://images.repography.com/33522702/JesusGautamah/lucy_dockerunner/recent-activity/7YfytFwl78FgWgAtJeO7jReo0y6GD6YPifcYNBxOxaE/yhI9H3pCZlEkfuvJLU9LC32UBu1c8k5toFvgUDmttdM_users.svg)](https://github.com/JesusGautamah/lucy_dockerunner/graphs/contributors)\n\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the LucyDockerunner project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/JesusGautamah/lucy_dockerunner/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusgautamah%2Flucy_dockerunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjesusgautamah%2Flucy_dockerunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjesusgautamah%2Flucy_dockerunner/lists"}