AppsDatabasesmysqlBitnami Mysql

Bitnami MySQL Image

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: '3.1'
 
services:
  mysql:
    image: bitnami/mysql:latest
    environment:
      MYSQL_ROOT_PASSWORD: example
    volumes:
      - /path/to/mysql-persistence:/bitnami/mysql/data  
    # (this is just an example, not intended to be a production configuration)
    restart: always

Resources

GitHub: https://github.com/bitnami/containers/tree/main/bitnami/mysql

Docker Hub: https://hub.docker.com/r/bitnami/mysql

Configuration: See the Docker Hub page