Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Anyone can link to a decent script for installing Ghost?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Anyone can link to a decent script for installing Ghost?

APFSAPFS Member

I have been using WordPress till now and want to switch to Ghost. I have spun up a stardust instance on scaleway and test ghost on it before I install it on Hetzner and move my blog.

I am not well aware of linux but can run basic commands. Installing Ghost seems to need something called docker according to some commands posted on some websites.

Is there any script that can do the installing part of docker, sql, node.js and ghost automated?
Looking for something that can work on a 1gb vps.
Thanks in advance.

Comments

  • A quick google search yield this → https://github.com/TomChantler/Ghost-Install

    Thanked by 2vyas11 APFS
  • thestothesto Member
    edited December 2022

    PikaPods also offers it. If you need Ghost only, this may be cheaper than a VPS? And less work.

    https://www.pikapods.com/apps#blog

    Thanked by 3vyas11 APFS RIYAD
  • The default guide takes like 5 minutes.

  • crunchbitscrunchbits Member, Patron Provider, Top Host

    I haven't seen a working script but the guide for Ubuntu 18/20 works pretty well. You don't have to use docker but that can simplify it a little depending on your use case.
    There is a little ambiguity where the guide makes some assumptions but it's relatively quick. I had actually just moved our blog to Ghost and am a huge fan of it so far.

    Google 'how to install docker on [operating system of choice]' and then their docker page is pretty straight forward, but there are also tons of how-to's from many other hosts.

    Thanked by 1APFS
  • m4num4nu Member, Patron Provider

    @Liso said:
    A quick google search yield this → https://github.com/TomChantler/Ghost-Install

    Careful. Newer Ghost versions depend on MySQL 8 and will have subtle bugs with MariaDB/MySQL 5.

    Ubuntu 18.04 comes with MySQL 5.7. So you'll want Ubuntu 20.04 or run both in Docker.

    Thanked by 1nick_
  • I think DO and namecheap should work fine, both offer ghost as one click install. If you want to host more than ghost on your vps you can use : Cloudron, Younohost, Sandstorm, Easypanel etc.

  • I don't think Docker is a requirement. From https://ghost.org/docs/hosting/ It says you need

    Ubuntu 16.04, 18.04, 20.04 or 22.04
    MySQL 8.0
    NGINX
    Systemd
    nodejs 14.x/ 16.x (recommended)
    A server with at least 1GB memory
    A non-root user for running ghost commands
    
  • i use docker for my ghost instance if you want here is the docker compose

    version: "3.3"
    services:
      ghost:
        image: ghost:latest
        container_name: ghostblog
        restart: always
        ports:
          - xxxx:2368"
        depends_on:
          - db
        environment:
          url: 
          database__client: mysql
          database__connection__host: db
          database__connection__user: ghost
          database__connection__password: 
          database__connection__database: ghostdb
          mail__transport: SMTP
          mail__options__host: 
          mail__options__port: 
          mail__options__secureConnection: 
          mail__options__auth__user: 
          mail__options__auth__pass: 
    
        volumes:
          - ./ghost/content:/var/lib/ghost/content
        networks:
          - tunnel
    
      db:
        image: mysql:8.0
        container_name: ghostblog-db
        restart: always
        environment:
          MYSQL_ROOT_PASSWORD: 
          MYSQL_USER: ghost
          MYSQL_PASSWORD: 
          MYSQL_DATABASE: ghostdb
        volumes:
          - ./ghost/mysql:/var/lib/mysql
        networks:
          - tunnel
    
    networks:
      tunnel:
        external: true
    
    
    Thanked by 2Erisa scooke
Sign In or Register to comment.