{"id":24764126,"url":"https://github.com/booink/docker_compose_yaml_loader","last_synced_at":"2026-04-20T05:32:10.896Z","repository":{"id":59152976,"uuid":"158643962","full_name":"booink/docker_compose_yaml_loader","owner":"booink","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-29T01:14:15.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T08:47:04.627Z","etag":null,"topics":["docker","docker-com","rails","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/booink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T04:52:38.000Z","updated_at":"2019-02-13T15:36:10.000Z","dependencies_parsed_at":"2022-09-13T10:50:29.844Z","dependency_job_id":null,"html_url":"https://github.com/booink/docker_compose_yaml_loader","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fdocker_compose_yaml_loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fdocker_compose_yaml_loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fdocker_compose_yaml_loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/booink%2Fdocker_compose_yaml_loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/booink","download_url":"https://codeload.github.com/booink/docker_compose_yaml_loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122353,"owners_count":20564290,"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","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-com","rails","ruby"],"created_at":"2025-01-28T21:33:01.974Z","updated_at":"2026-04-20T05:32:10.852Z","avatar_url":"https://github.com/booink.png","language":"Ruby","readme":"# DockerComposeYamlLoader\n\nI wanted to give environment variables to Rails on the host PC while using docker-compose, but I created it for use when I do not want to duplicate definitions.\nPlease use when dotenv etc. can not be used\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :development, :test do\n  gem 'docker_compose_yaml_loader'\nend\n```\n\n## Usage\n\nconfig/development.rb or config/test.rb\n\n```ruby\nDockerComposeYamlLoader::Environments.setup(Rails.root.join('./docker-compose.yml'), key: 'webapp') do |env|\n  # update Environments variables\n  env.set('DATABASE_HOST', '127.0.0.1')\n  env.set('DATABASE_PORT', '13306')\nend\n\nRails.application.configure do\n  ...\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/booink/docker_compose_yaml_loader. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\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 DockerComposeYamlLoader project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/booink/docker_compose_yaml_loader/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbooink%2Fdocker_compose_yaml_loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbooink%2Fdocker_compose_yaml_loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbooink%2Fdocker_compose_yaml_loader/lists"}