extends trusted mysql:5.6 image with an additional test db created by default
431
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."
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
Content type
Image
Digest
Size
106.3 MB
Last updated
over 10 years ago
docker pull agaveapi/mysql:5.6-devtz