https://github.com/javanile/mysql
The best MySQL images for your docker compose file.
https://github.com/javanile/mysql
docker mysql
Last synced: 3 months ago
JSON representation
The best MySQL images for your docker compose file.
- Host: GitHub
- URL: https://github.com/javanile/mysql
- Owner: javanile
- License: mit
- Created: 2020-05-14T11:13:56.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T12:49:45.000Z (almost 2 years ago)
- Last Synced: 2025-02-04T16:50:34.784Z (5 months ago)
- Topics: docker, mysql
- Language: Shell
- Homepage: https://hub.docker.com/r/javanile/mysql
- Size: 45.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MySQL
> The best MySQL container for your docker compose file.
## Introduction and benefits
The MySQL image is a tool designed to make it easy for users to run and customize MySQL database.
Our mission is to provide a user-friendly and efficient solution that can save time and increase productivity.By using the MySQL image, users can expect the following benefits:
Feature 1: saves time by automating process Y
Feature 2: increases accuracy by providing detailed and real time information
Feature 3: allows for easy collaboration with team membersWe are constantly working to improve the Awesome App and add new features that will make the app even more useful.
Thank you for choosing our MySQL image!This is just an example, and the content can be tailored according to the specifics of the project.
The goal is just to give an overview of what's the purpose of the project, and what are the advantages of using it.## Supported tags and respective `Dockerfile` links
* [`8.0.31`, `8.0`, `8`, `latest`](https://github.com/javanile/mysql/blob/main/versions/8.0.31/Dockerfile)
* [`5.7.28`, `5.7`, `5`](https://github.com/javanile/mysql/blob/main/version/5.7.28/Dockerfile)## How to use this image
This is the minimal footprint for a MySQL database server
```yaml
version: "3"services:
mysql:
image: javanile/mysql:8.0.31
environment:
- MYSQL_DATABASE=database
- MYSQL_ROOT_PASSWORD=secret
```## Using a custom MySQL configuration files
The additional configuration for MySQL can be placed in `/etc/mysql/docker.conf.d` directory.
Avoid to bind single file, use a local directory to host your custom files and mount as volume.```yaml
version: "3"services:
mysql:
image: javanile/mysql:8.0.31
environment:
- MYSQL_DATABASE=database
- MYSQL_ROOT_PASSWORD=secret
volumes:
- ./etc/mysql:/etc/mysql/docker.conf.d
```## Using dataset
```yaml
version: "3"services:
mysql:
image: javanile/mysql:8.0.31
environment:
- MYSQL_DATABASE=database
- MYSQL_ROOT_PASSWORD=secret
volumes:
- ./var/mysql-dataset:/var/lib/mysql-dataset
```