[PR #1361] [MERGED] New script : Ghost #3004

Closed
opened 2026-02-05 05:24:19 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/1361
Author: @fabrice1236
Created: 1/9/2025
Status: Merged
Merged: 1/10/2025
Merged by: @MickLesk

Base: mainHead: ghost-testing


📝 Commits (10+)

  • 530e94b add Ghost installation and update scripts
  • 110529f remove unnecessary installation check
  • 87f9db5 Fixed link for testing
  • f53e702 Set up testing.
  • 2c65b7f Refactor Ghost installation script to streamline MySQL configuration and consolidate Node.js and npm installation steps
  • f69c725 Update MySQL configuration in installation script to use password for flushing privileges
  • e77366f Bug fix
  • 26cf31b Remove separate npm installation step
  • 0ead0c5 Add ghost-user creation and modify Ghost installation to run as new user
  • 0fd64e2 Create ghost-user with proper permissions and update Ghost setup commands

📊 Changes

3 files changed (+171 additions, -0 deletions)

View changed files

ct/ghost.sh (+57 -0)
install/ghost-install.sh (+73 -0)
json/ghost.json (+41 -0)

📄 Description

✍️ Description

This pull request adds support for Ghost, an open-source CMS (https://ghost.org/).


  • Related Discussion:167

🛠️ Type of Change

Please check the relevant options:

  • New feature (non-breaking change that adds functionality)
  • Bug fix (non-breaking change that resolves an issue)
  • Breaking change (fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts)

Prerequisites

The following steps must be completed for the pull request to be considered:

  • Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.)
  • Testing performed (I have thoroughly tested my changes and verified expected functionality.)
  • Documentation updated (I have updated any relevant documentation)

📋 Additional Information (optional)

To make the setup easy, the script sets up Ghost using localhost as a domain (ghost doesn't support IPs) and listens on 0.0.0.0 to still receive requests from the outside. It's normally designed to run with a domain in production, or on your local machine for testing (not on another in your network), but for a plug-and-play solution, this works well.
You are also required to run ghost commands as a non-root user, so the script also creates the "ghost-user" for that. I mention this in the json file, in case the user needs access to them (starting and stopping can still be done by root as it's a service).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/community-scripts/ProxmoxVE/pull/1361 **Author:** [@fabrice1236](https://github.com/fabrice1236) **Created:** 1/9/2025 **Status:** ✅ Merged **Merged:** 1/10/2025 **Merged by:** [@MickLesk](https://github.com/MickLesk) **Base:** `main` ← **Head:** `ghost-testing` --- ### 📝 Commits (10+) - [`530e94b`](https://github.com/community-scripts/ProxmoxVE/commit/530e94be8c6d82d8ec9f9b8bfbc1fa006b92f15e) add Ghost installation and update scripts - [`110529f`](https://github.com/community-scripts/ProxmoxVE/commit/110529f8d9d77cb7dba96c8c4fe6bf7b8e05f281) remove unnecessary installation check - [`87f9db5`](https://github.com/community-scripts/ProxmoxVE/commit/87f9db5862c9b4b2a7bbd15451ac34de08f3148a) Fixed link for testing - [`f53e702`](https://github.com/community-scripts/ProxmoxVE/commit/f53e702cd9dfe1eb02a274a5cd166dcb5ab9d972) Set up testing. - [`2c65b7f`](https://github.com/community-scripts/ProxmoxVE/commit/2c65b7fc9a0c01cb8e1e42b889967b4adc0791a8) Refactor Ghost installation script to streamline MySQL configuration and consolidate Node.js and npm installation steps - [`f69c725`](https://github.com/community-scripts/ProxmoxVE/commit/f69c7259441bc19e2437ffde84f6c5b9595db290) Update MySQL configuration in installation script to use password for flushing privileges - [`e77366f`](https://github.com/community-scripts/ProxmoxVE/commit/e77366fca98e70e7b25b67d7beeb41f2148b5611) Bug fix - [`26cf31b`](https://github.com/community-scripts/ProxmoxVE/commit/26cf31b716a8338ec0a868c51823a39e374fc1d4) Remove separate npm installation step - [`0ead0c5`](https://github.com/community-scripts/ProxmoxVE/commit/0ead0c528fa2a587c57fd22d363be09c8729e5c8) Add ghost-user creation and modify Ghost installation to run as new user - [`0fd64e2`](https://github.com/community-scripts/ProxmoxVE/commit/0fd64e22a1ca9abbd1163369834f1f8ff8f615e7) Create ghost-user with proper permissions and update Ghost setup commands ### 📊 Changes **3 files changed** (+171 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `ct/ghost.sh` (+57 -0) ➕ `install/ghost-install.sh` (+73 -0) ➕ `json/ghost.json` (+41 -0) </details> ### 📄 Description ## ✍️ Description This pull request adds support for Ghost, an open-source CMS (https://ghost.org/). - - - - Related Discussion:[167](https://github.com/community-scripts/ProxmoxVE/discussions/167) --- ## 🛠️ Type of Change Please check the relevant options: - - [ ] New feature (non-breaking change that adds functionality) - [ ] Bug fix (non-breaking change that resolves an issue) - [ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) - [x] New script (a fully functional and thoroughly tested script or set of scripts) --- ## ✅ Prerequisites The following steps must be completed for the pull request to be considered: - [x] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) - [x] Testing performed (I have thoroughly tested my changes and verified expected functionality.) - [x] Documentation updated (I have updated any relevant documentation) --- ## 📋 Additional Information (optional) To make the setup easy, the script sets up Ghost using localhost as a domain (ghost doesn't support IPs) and listens on 0.0.0.0 to still receive requests from the outside. It's normally designed to run with a domain in production, or on your local machine for testing (not on another in your network), but for a plug-and-play solution, this works well. You are also required to run ghost commands as a non-root user, so the script also creates the "ghost-user" for that. I mention this in the json file, in case the user needs access to them (starting and stopping can still be done by root as it's a service). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:24:19 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#3004