Overall Assumptions

Contents

  1. New Installs
  2. Upgrades
  3. Migrating a Ghost-CLI Install
  4. Tinybird Integration (for analytics)

New Installs

Requirements

Steps

Ghost Install

  1. Clone the repo to your server in /opt/ghost: git clone [<https://github.com/TryGhost/ghost-docker.git>](<https://github.com/TryGhost/ghost-docker.git>) /opt/ghost
  2. Run cd /opt/ghost to change directory into the cloned repo
  3. Run cp .env.example .env and cp caddy/Caddyfile.example caddy/Caddyfile to setup the example files
  4. Edit the .env file filling out the below values:
    1. DOMAIN : Set this to the domain you want your Ghost site to be on
      1. If you have a separate Admin Domain, fill out ADMIN_DOMAIN with your Admin domain
    2. DATABASE_ROOT_PASSWORD : generate a random password with openssl rand -hex 32
    3. DATABASE_PASSWORD : Generate a random password using openssl rand -hex 32
    4. Fill out the Email options at the bottom of the file