stain / mysql-for-artifactory

Docker image for mySQL tuned for Artifactory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mySQL Docker image tuned for Artifactory

Based on the official mySQL image, applying the recommended mySQL tuning for Artifactory.

Docker image: stain/mysql-for-artifactory

Usage with Artifactory

This image would typically be linked to from artifactory-with-mysql:

docker run --name mysql-for-artifactory-data -v /var/lib/mysql busybox
docker run -d --volumes-from mysql-for-artifactory-data --name mysql-for-artifactory stain/mysql-for-artifactory
docker run --name artifactory --link mysql-for-artifactory:mysql -p 8080:8080 stain/artifactory-with-mysql

Details

This image sets up the database artdb with username artifactory and password password, to match the defaults of $ARTIFACTORY_HOME/misc/db/mysql.properties.

The mySQL root password has also been set to password.

/var/lib/mysql is exposed as a Docker volume - you will probably want to create a Data volume container as in the example above.

It should not normally be needed to back up mySQL for Artifactory, as you can instead use Artifactory's backup.

About

Docker image for mySQL tuned for Artifactory