aydancoskun / otto-mariadb10.1.latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MySQL application for Otto.

Usage

Add as a dependency in your Appfile:

application {
    name = "example-app"

    dependency {
        source = "github.com/aydancoskun/otto-mariadb10.1.latest"
    }
}

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.

About