MySQL

MySQL database server

3306
Default Port
1
Services
11.0/20
Complexity
Low
Memory Usage
Configuration

Installation Command

blastdock init mysql

Template Overview

Everything you need to deploy Mysql with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Mysql
mysql:8.0
Categories
Database
Security Features
Password Protection
Resource Requirements
CPU: Low, Memory: Low , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Mysql up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Mysql with:

Terminal
blastdock init mysql

Interactive mode:

Terminal
blastdock init mysql -i

What's Included

Mysql
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Mysql installation with these configuration options.

2
Required Fields
3
Optional Fields
2
Auto-Generated Passwords

Mysql Port

MySQL port

port
Default: 3306
Required: Yes

Mysql Root Password

MySQL root password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Mysql Database

Initial database name (optional)

database_name
Default:
Required: No

Mysql User

Additional user (optional)

string
Default:
Required: No

Mysql Password

Additional user password

password
Default: ••••••••••••
Required: No
Security: Auto-generated

Docker Compose

Complete Docker Compose configuration for Mysql deployment.

1
Services
1
Volumes
1
Networks
1
Exposed Ports
docker-compose.yml
version: '3.8'

services:
  mysql:
    image: mysql:8.0
    container_name: {{ project_name }}_mysql
    restart: unless-stopped
    ports:
      - "3306"
    environment:
      MYSQL_ROOT_PASSWORD: {{ mysql_root_password }}
      MYSQL_DATABASE: {{ mysql_database }}
      MYSQL_USER: {{ mysql_user }}
      MYSQL_PASSWORD: {{ mysql_password }}
    volumes:
      - /var/lib/mysql
      - /etc/mysql/conf.d
    networks:
      - mysql_network

volumes:
  mysql_data:
    driver: local

networks:
  mysql_network:
    driver: bridge