Ghost + MySQL

Ghost with MySQL - Publishing platform

2368
Default Port
2
Services
15.0/20
Complexity
Medium
Memory Usage
Configuration

Installation Command

blastdock init ghost-mysql

Template Overview

Everything you need to deploy Ghost-mysql with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Ghost
ghost:latest
Mysql
mysql:8
Categories
Database
Security Features
Password Protection
Resource Requirements
CPU: Medium, Memory: Medium , 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 Ghost-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 Ghost-mysql with:

Terminal
blastdock init ghost-mysql

Interactive mode:

Terminal
blastdock init ghost-mysql -i

What's Included

Ghost
Container service
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 Ghost-mysql installation with these configuration options.

3
Required Fields
0
Optional Fields
1
Auto-Generated Passwords

Port

Web interface port

port
Default: 2368
Required: Yes

Mysql Password

MySQL password

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

Url

Site URL

domain
Default: http://localhost:2368
Required: Yes

Docker Compose

Complete Docker Compose configuration for Ghost-mysql deployment.

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

services:
  mysql:
    image: mysql:8
    container_name: {{ project_name }}_mysql
    restart: unless-stopped
    environment:
      0: MYSQL_ROOT_PASSWORD={{ mysql_password }}
      1: MYSQL_DATABASE=ghost
      2: MYSQL_USER=ghost
      3: MYSQL_PASSWORD={{ mysql_password }}
    volumes:
      - /var/lib/mysql
    networks:
      - ghost_network

  ghost:
    image: ghost:latest
    container_name: {{ project_name }}_ghost
    restart: unless-stopped
    depends_on:
      - mysql
    ports:
      - "2368"
    environment:
      0: database__client=mysql
      1: database__connection__host=mysql
      2: database__connection__user=ghost
      3: database__connection__password={{ mysql_password }}
      4: database__connection__database=ghost
      5: url={{ url }}
    volumes:
      - /var/lib/ghost/content
    networks:
      - ghost_network

volumes:
  mysql_data:
    driver: local

  ghost_data:
    driver: local

networks:
  ghost_network:
    driver: bridge