Public Repository

Last pushed: a year ago
Short Description
extends trusted mysql:5.6 image with an additional test db created by default
Full Description

Agave MySQL Dev Server

This container extends the base trusted mysql:5.6
image adding in a the creation of a test database table accessible by the
MYSQL_USER. The table name is configurable by setting the MYSQL_TEST_DATABASE
environment variable. If no value is set, the database will be named "test."

Running

Add this to your docker-compose.yml file:

mysql:
    image: agaveapi/mysql:5.6-dev
    ports:
        - '3306:3306'
    hostname: mysql.example.com
    volumes_from:
        - 'mysqlvol'
    environment:
        MYSQL_ROOT_PASSWORD: changeit
        MYSQL_DATABASE: agavecore
        MYSQL_USER: agaveuser
        MYSQL_PASSWORD: password
        MYSQL_TEST_DATABASE: test

mysqlvol:
    image: agaveapi/mysql:5.6-dev
    command: sleep 90
    mem_limit: 64m
Docker Pull Command
Owner
agaveapi

Comments (0)