Install Ghost with Docker

version: '3.1'

services:
  ghost:
    image: ghost:5.25.3-alpine
    restart: always
    ports:
      - 3002:2368
    environment:
      database__client: mysql
      database__connection__host: db
      database__connection__user: root
      database__connection__password: password
      database__connection__database: ghost
      url: https://jomz.cc
  db:
    image: mysql:8.0
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: password