{
  "slug": "ghost",
  "name": "Ghost",
  "description": "Modern publishing platform for newsletters, blogs, memberships, and independent media sites.",
  "category": "Web Apps",
  "image": "ghost:5-alpine",
  "logo": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/ghost.png",
  "website": "https://ghost.org",
  "docsUrl": "https://hub.docker.com/_/ghost",
  "ports": [
    {
      "host": 2368,
      "container": 2368,
      "protocol": "tcp"
    }
  ],
  "volumes": [],
  "envVars": [
    {
      "key": "GHOST_CONTENT_PATH",
      "default": "/opt/appdata/ghost/content",
      "description": "Host path for Ghost content"
    },
    {
      "key": "GHOST_DB_PATH",
      "default": "/opt/appdata/ghost/db",
      "description": "Host path for MySQL data"
    },
    {
      "key": "GHOST_URL",
      "default": "http://localhost:2368",
      "description": "Public Ghost URL"
    },
    {
      "key": "GHOST_DB_NAME",
      "default": "ghost",
      "description": "Database name"
    },
    {
      "key": "GHOST_DB_USER",
      "default": "ghost",
      "description": "Database user"
    },
    {
      "key": "GHOST_DB_PASSWORD",
      "default": "change-me",
      "description": "Database password",
      "secret": true
    },
    {
      "key": "GHOST_DB_ROOT_PASSWORD",
      "default": "change-root-password",
      "description": "MySQL root password",
      "secret": true
    }
  ],
  "composeOverride": "# Generated by McHarbor App Store\nservices:\n  {{serviceName}}:\n    image: {{image}}\n    container_name: {{containerName}}\n    restart: unless-stopped\n    depends_on:\n      - {{serviceName}}-db\n{{ports}}\n    volumes:\n      - {{env.GHOST_CONTENT_PATH}}:/var/lib/ghost/content\n    environment:\n      url: {{env.GHOST_URL}}\n      database__client: mysql\n      database__connection__host: {{serviceName}}-db\n      database__connection__user: {{env.GHOST_DB_USER}}\n      database__connection__password: {{env.GHOST_DB_PASSWORD}}\n      database__connection__database: {{env.GHOST_DB_NAME}}\n  {{serviceName}}-db:\n    image: mysql:8\n    container_name: {{containerName}}-db\n    restart: unless-stopped\n    volumes:\n      - {{env.GHOST_DB_PATH}}:/var/lib/mysql\n    environment:\n      MYSQL_DATABASE: {{env.GHOST_DB_NAME}}\n      MYSQL_USER: {{env.GHOST_DB_USER}}\n      MYSQL_PASSWORD: {{env.GHOST_DB_PASSWORD}}\n      MYSQL_ROOT_PASSWORD: {{env.GHOST_DB_ROOT_PASSWORD}}\n",
  "minMemory": "1GB",
  "version": "5-alpine"
}
