Project

dockerci

0.0
No commit activity in last 3 years
No release in over 3 years
Read configuration of `config/database.yml`, use that information to launch a circleci mysql docker image.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 2.0
~> 10.0

Runtime

 Project Readme

Dockerci

Read configuration of config/database.yml, use that information to launch a circleci mysql docker image.

Installation

Add this line to your application's Gemfile:

gem 'dockerci'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dockerci

Usage

Simply run:

bundle exec rake dockerci:mysql

It will load your env's database.yml, and using that information, launches the circleci/mysql image.

If you want to specify the launching version, then in your config/application.rb, put following code:

config.dockerci_mysql_version = '5.7'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Yuki-Inoue/dockerci.