Sign inSign up

stain/mysql-for-artifactory

By stain

Updated over 8 years ago

Image
0

879

stain/mysql-for-artifactory repository overview

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.

Tag summary

Content type

Image

Digest

sha256:602b12a55

Size

121.1 MB

Last updated

over 8 years ago

docker pull stain/mysql-for-artifactory