Repository: 1Panel-dev/appstore
Pull request #3646: feat: Add Ghost Blogging Platform to App Store
Author: login: shofistwn
Labels: name: do-not-merge/release-note-label-needed
Created: 2025-04-09T10:29:54Z | Merged: 2025-04-10T05:37:24Z

[Ghost](https://ghost.org) is a powerful, open-source publishing platform tailored for professional bloggers, newsletters, and modern publishing needs. With this addition, users can easily deploy Ghost through the 1Panel interface.


Diff:
diff --git a/apps/ghost/5.116.1/data.yml b/apps/ghost/5.116.1/data.yml
new file mode 100644
index 000000000000..6c455c1c6c67
--- /dev/null
+++ b/apps/ghost/5.116.1/data.yml
@@ -0,0 +1,92 @@
+additionalProperties:
+  formFields:
+    - child:
+        default: ""
+        envKey: PANEL_DB_HOST
+        required: true
+        type: service
+      default: mysql
+      envKey: PANEL_DB_TYPE
+      label:
+        en: Database Service
+        ja: データベースサービス
+        ms: Perkhidmatan Pangkalan Data
+        pt-br: Serviço de Banco de Dados
+        ru: Сервис баз данных
+        ko: 데이터베이스 서비스
+        zh-hant: 資料庫服務
+        zh: 数据库服务
+      required: true
+      type: apps
+      values:
+        - label: MySQL
+          value: mysql
+    - default: ghost
+      envKey: PANEL_DB_NAME
+      label:
+        en: Database
+        ja: データベース
+        ms: Pangkalan Data
+        pt-br: Banco de Dados
+        ru: База данных
+        ko: 데이터베이스
+        zh-hant: 資料庫
+        zh: 数据库
+      required: true
+      random: true
+      type: text
+    - default: ghost
+      envKey: PANEL_DB_USER
+      label:
+        en: Database User
+        ja: データベースユーザー
+        ms: Pengguna Pangkalan Data
+        pt-br: Usuário do Banco de Dados
+        ru: Пользователь базы данных
+        ko: 데이터베이스 사용자
+        zh-hant: 資料庫用戶
+        zh: 数据库用户
+      required: true
+      random: true
+      type: text
+    - default: ghost
+      envKey: PANEL_DB_USER_PASSWORD
+      label:
+        en: Database Password
+        ja: データベースのパスワード
+        ms: Kata Laluan Pangkalan Data
+        pt-br: Senha do Banco de Dados
+        ru: Пароль базы данных
+        ko: 데이터베이스 비밀번호
+        zh-hant: 資料庫密碼
+        zh: 数据库密码
+      required: true
+      type: password
+      random: true
+    - default: 2368
+      envKey: PANEL_APP_PORT_HTTP
+      label:
+        en: Port
+        ja: ポート
+        ms: Port
+        pt-br: Porta
+        ru: Порт
+        ko: 포트
+        zh-hant: 埠
+        zh: 端口
+      required: true
+      type: number
+      rule: paramPort
+    - default: https://blog.domain.com
+      envKey: GHOST_URL
+      label:
+        en: Site URL
+        ja: サイトURL
+        ms: URL Laman
+        pt-br: URL do Site
+        ru: URL сайта
+        ko: 사이트 URL
+        zh-hant: 網站網址
+        zh: 网站地址
+      required: true
+      type: text
diff --git a/apps/ghost/5.116.1/docker-compose.yml b/apps/ghost/5.116.1/docker-compose.yml
new file mode 100644
index 000000000000..4864d4a0bc74
--- /dev/null
+++ b/apps/ghost/5.116.1/docker-compose.yml
@@ -0,0 +1,24 @@
+services:
+  ghost:
+    image: ghost:5.116.1
+    container_name: ${CONTAINER_NAME}
+    restart: always
+    networks:
+      - 1panel-network
+    ports:
+      - ${PANEL_APP_PORT_HTTP}:2368
+    environment:
+      url: ${GHOST_URL}
+      database__client: mysql
+      database__connection__host: ${PANEL_DB_HOST}
+      database__connection__user: ${PANEL_DB_USER}
+      database__connection__password: ${PANEL_DB_USER_PASSWORD}
+      database__connection__database: ${PANEL_DB_NAME}
+    volumes:
+      - ./data:/var/lib/ghost/content
+    labels:
+      createdBy: "Apps"
+
+networks:
+  1panel-network:
+    external: true
diff --git a/apps/ghost/README.md b/apps/ghost/README.md
new file mode 100644
index 000000000000..279cf77871d8
--- /dev/null
+++ b/apps/ghost/README.md
@@ -0,0 +1,11 @@
+# Ghost
+
+**Ghost** 是一个用于创建专业博客和管理电子邮件新闻通讯的最佳开源平台。非常适合希望通过现代写作体验和高性能建立强大数字存在感的独立写作者、出版商和企业。
+
+## 🌟 主要特性
+
+- ✍️ 简洁直观的内容编辑器（支持 Markdown 和富文本）
+- 📬 内置电子邮件新闻通讯支持
+- 🧩 可与多种第三方服务集成
+- ⚡ 高性能且对 SEO 友好
+- 🔐 内置会员系统与变现功能
diff --git a/apps/ghost/README_en.md b/apps/ghost/README_en.md
new file mode 100644
index 000000000000..ee949d9dd6ba
--- /dev/null
+++ b/apps/ghost/README_en.md
@@ -0,0 +1,11 @@
+# Ghost
+
+**Ghost** is the best open source platform for creating professional blogs and managing email newsletters. Perfect for independent writers, publishers, and businesses who want to build a strong digital presence with a modern writing experience and high performance.
+
+## 🌟 Key Features
+
+- ✍️ Clean and intuitive content editor (Markdown + Rich Text)
+- 📬 Built-in email newsletter support
+- 🧩 Integrations with various third-party services
+- ⚡ High performance and SEO-friendly
+- 🔐 Built-in membership and monetization system
diff --git a/apps/ghost/data.yml b/apps/ghost/data.yml
new file mode 100644
index 000000000000..883bafbc7f7a
--- /dev/null
+++ b/apps/ghost/data.yml
@@ -0,0 +1,28 @@
+name: Ghost
+tags:
+  - 建站
+title: 最佳开源博客和电子报平台
+description: 最佳开源博客和电子报平台。
+additionalProperties:
+  key: ghost
+  name: Ghost
+  tags:
+    - Website
+  shortDescZh: 最佳开源博客和电子报平台。
+  shortDescEn: The best open source blog & newsletter platform.
+  description:
+    en: The best open source blog & newsletter platform.
+    ja: 最高のオープンソースブログ＆ニュースレタープラットフォーム。
+    ms: Platform blog & surat berita sumber terbuka terbaik.
+    pt-br: A melhor plataforma de blog e boletins informativos de código aberto.
+    ru: Лучшая платформа для блогов и рассылок с открытым исходным кодом.
+    ko: 최고의 오픈 소스 블로그 및 뉴스레터 플랫폼입니다.
+    zh-hant: 最佳開源博客與電子報平台。
+    zh: 最佳开源博客和电子报平台。
+  type: website
+  crossVersionUpdate: true
+  limit: 0
+  recommend: 0
+  website: https://ghost.org/
+  github: https://github.com/TryGhost/Ghost
+  document: https://ghost.org/docs/
diff --git a/apps/ghost/logo.png b/apps/ghost/logo.png
new file mode 100644
index 000000000000..ac34001d509a
Binary files /dev/null and b/apps/ghost/logo.png differ


Reviews:
user: login: wanghe-fit2cloud
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-04-10T03:56:46Z
user: login: wanghe-fit2cloud
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-04-10T03:57:37Z
user: login: wanghe-fit2cloud
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-04-10T03:58:34Z
user: login: wanghe-fit2cloud
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-04-10T03:59:31Z
user: login: wanghe-fit2cloud
state: COMMENTED
author_association: MEMBER
submitted_at: 2025-04-10T04:07:39Z
user: login: shofistwn
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-10T04:49:16Z
user: login: shofistwn
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-10T04:50:35Z
user: login: shofistwn
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-10T04:50:49Z
user: login: shofistwn
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-10T04:51:54Z
user: login: shofistwn
state: COMMENTED
author_association: CONTRIBUTOR
submitted_at: 2025-04-10T04:52:08Z

Review comments:
diff_hunk: @@ -0,0 +1,24 @@
+services:
+  ghost:
+    image: ghost:5-alpine
path: apps/ghost/5-alpine/docker-compose.yml
user: login: wanghe-fit2cloud
body: 推荐使用 `ghost:5.116.1` 镜像版本，它支持更多的系统架构，相较于 alpine 版本虽然体积大了约 20MB，属于可接受范围。
![image](https://github.com/user-attachments/assets/cac119a4-7216-48f6-98f5-28dc1adf5359)

created_at: 2025-04-10T03:56:46Z
author_association: MEMBER
path: apps/ghost/README.md
user: login: wanghe-fit2cloud
body: 还需要增加一个 `README_en.md` 国际化文件。
created_at: 2025-04-10T03:57:37Z
author_association: MEMBER
path: apps/ghost/logo.png
user: login: wanghe-fit2cloud
body: 建议将图片大小压缩至 10kb 以下。
created_at: 2025-04-10T03:58:33Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,28 @@
+name: Ghost
+tags:
+  - 建站
+title: 最佳开源博客和电子报平台
+description: 最佳开源博客和电子报平台。
+additionalProperties:
+  key: ghost
+  name: Ghost
+  tags:
+    - Website
+  shortDescZh: 最佳开源博客和电子报平台。
+  shortDescEn: The best open source blog & newsletter platform.
+  description:
+    en: The best open source blog & newsletter platform.
+    ja: 最高のオープンソースブログ＆ニュースレタープラットフォーム。
+    ms: Platform blog & surat berita sumber terbuka terbaik.
+    pt-br: A melhor plataforma de blog e boletins informativos de código aberto.
+    ru: Лучшая платформа для блогов и рассылок с открытым исходным кодом.
+    ko: 최고의 오픈 소스 블로그 및 뉴스레터 플랫폼입니다.
+    zh-hant: 最佳開源博客與電子報平台。
+    zh: 最佳开源博客和电子报平台。
+  type: website
+  crossVersionUpdate: true
+  limit: 0
+  recommend: 25
path: apps/ghost/data.yml
user: login: wanghe-fit2cloud
body: 将推荐码设置为 `0`，后续我们会根据应用下载量来判断是否推荐，望理解。
created_at: 2025-04-10T03:59:31Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,17 @@
+# Ghost
+
+**Ghost** is the best open source platform for creating professional blogs and managing email newsletters. Perfect for independent writers, publishers, and businesses who want to build a strong digital presence with a modern writing experience and high performance.
+
+## 🌟 Key Features
+
+- ✍️ Clean and intuitive content editor (Markdown + Rich Text)
+- 📬 Built-in email newsletter support
+- 🧩 Integrations with various third-party services
+- ⚡ High performance and SEO-friendly
+- 🔐 Built-in membership and monetization system
+
+## 🌐 Official Website
path: apps/ghost/README.md
user: login: wanghe-fit2cloud
body: 建议这部分直接取消掉，因为在页面顶部也会体现这三个链接。
created_at: 2025-04-10T04:07:39Z
author_association: MEMBER
diff_hunk: @@ -0,0 +1,24 @@
+services:
+  ghost:
+    image: ghost:5-alpine
path: apps/ghost/5-alpine/docker-compose.yml
user: login: shofistwn
body: Updated the image to `ghost:5.116.1` as suggested.
created_at: 2025-04-10T04:49:16Z
author_association: CONTRIBUTOR
path: apps/ghost/README.md
user: login: shofistwn
body: Added `README_en.md` file for internationalization.
created_at: 2025-04-10T04:50:35Z
author_association: CONTRIBUTOR
path: apps/ghost/logo.png
user: login: shofistwn
body: Compressed the image to below 10KB as requested.
created_at: 2025-04-10T04:50:49Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,28 @@
+name: Ghost
+tags:
+  - 建站
+title: 最佳开源博客和电子报平台
+description: 最佳开源博客和电子报平台。
+additionalProperties:
+  key: ghost
+  name: Ghost
+  tags:
+    - Website
+  shortDescZh: 最佳开源博客和电子报平台。
+  shortDescEn: The best open source blog & newsletter platform.
+  description:
+    en: The best open source blog & newsletter platform.
+    ja: 最高のオープンソースブログ＆ニュースレタープラットフォーム。
+    ms: Platform blog & surat berita sumber terbuka terbaik.
+    pt-br: A melhor plataforma de blog e boletins informativos de código aberto.
+    ru: Лучшая платформа для блогов и рассылок с открытым исходным кодом.
+    ko: 최고의 오픈 소스 블로그 및 뉴스레터 플랫폼입니다.
+    zh-hant: 最佳開源博客與電子報平台。
+    zh: 最佳开源博客和电子报平台。
+  type: website
+  crossVersionUpdate: true
+  limit: 0
+  recommend: 25
path: apps/ghost/data.yml
user: login: shofistwn
body: Changed the recommend value to `0`. Understood about adjusting based on app downloads.
created_at: 2025-04-10T04:51:54Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,17 @@
+# Ghost
+
+**Ghost** is the best open source platform for creating professional blogs and managing email newsletters. Perfect for independent writers, publishers, and businesses who want to build a strong digital presence with a modern writing experience and high performance.
+
+## 🌟 Key Features
+
+- ✍️ Clean and intuitive content editor (Markdown + Rich Text)
+- 📬 Built-in email newsletter support
+- 🧩 Integrations with various third-party services
+- ⚡ High performance and SEO-friendly
+- 🔐 Built-in membership and monetization system
+
+## 🌐 Official Website
path: apps/ghost/README.md
user: login: shofistwn
body: Removed the official links section at the bottom, since they’re already shown at the top.
created_at: 2025-04-10T04:52:08Z
author_association: CONTRIBUTOR

PR comments:
user: login: f2c-ci-robot[bot]
created_at: 2025-04-09T10:29:58Z
body: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our [release note process](https://git.k8s.io/community/contributors/guide/release-notes.md) to remove it.

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
</details>
author_association: NONE
user: login: f2c-ci-robot[bot]
created_at: 2025-04-09T10:30:00Z
body: [APPROVALNOTIFIER] This PR is **NOT APPROVED**

This pull-request has been approved by:


The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=1Panel-dev%2Fappstore).

<details open>
Needs approval from an approver in each of these files:

- **[OWNERS](https://github.com/1Panel-dev/appstore/blob/dev/OWNERS)**

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
author_association: NONE