Add as a dependency in your Appfile:
application {
name = "example-app"
dependency {
source = "github.com/withassociates/otto-mysql"
}
}
Configure Rails app to use the containerized DB:
# config/database.yml
development:
adapter: mysql2
encoding: utf8
pool: 5
username: root
password:
host: mysql.service.consul
NOTE:
Does not include client tools such as mysql and mysqldump.