HUB
Sign inSign up
mysql logo

agaveapi/mysql

By agaveapi

•Updated over 10 years ago

extends trusted mysql:5.6 image with an additional test db created by default

Image
0

443

agaveapi/mysql repository overview

⁠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
Tag summary
Recent tags
Content type
Image
Digest
Size
106.3 MB
Last updated
over 10 years ago
docker pull agaveapi/mysql:5.6-devtz