50%オフ 全プラン対象、期間限定。月額 $2.48/mo
おばけ

おばけ

Ghost は最新の出版プラットフォームです。ネイティブの Stripe 統合と Substack スタイルの電子メール購読を備えた、ニュースレター、ブログ、有料メンバーシップ用のヘッドレス CMS。 OpenAI、DuckDuckGo、Mozilla で使用されます。 MIT ライセンスを取得した、本格的な発行者向けの WordPress の代替品。

バージョン

6

オペレーティングシステム

Ubuntu Server 24.04 LTS

分。ラム

2 GB

IPの種類

IPV4、IPV6

Ghost Admin にアクセスする

URL: https://<server-ip>/ghost

初期設定を完了します。管理者ユーザーを作成し、サイトを構成します。

Docker Compose を介して Ghost を管理する

cd /root/ghost
docker compose ps        # View running containers
docker compose up -d     # Start Ghost
docker compose down      # Stop Ghost
docker compose restart   # Restart Ghost

資格情報と構成

/root/ghost/.env および /root/ghost/docker-compose.yml に保存されます。

電子メールの設定

コメントを解除する mail のセクション /root/ghost/docker-compose.yml.

コンテナを再起動します。

cd /root/ghost; docker compose restart

SMTP アクセスが許可されていることを確認してください。

Gmail アプリのパスワードを使用した例:

mail__transport: SMTP
mail__options__host: smtp.gmail.com
mail__options__port: 465
mail__options__secure: true
mail__options__auth__user: [email protected]
mail__options__auth__pass: your-app-password

ドメインとSSL

ドメインがサーバー IP を指すようにします。

アップデート /root/ghost/docker-compose.yml ドメインへの URL (URL: https://your-domain)。

コンテナを再起動します。

cd /root/ghost; docker compose restart

Certbot SSL の場合:

apt install -y certbot python3-certbot-nginx
certbot certonly --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>

の SSL パスを置き換えます /etc/nginx/sites-enabled/ghost.

# Example
ssl_certificate /etc/letsencrypt/live/your-domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your-domain/privkey.pem;

Nginx をリロードします。

nginx -t && systemctl reload nginx

 

今すぐ Ghost を導入してください。 月額2.48ドルから。