/ ghost

Ghost upgrade: my way

I serve this blog from a few different instances of ghost:

  • Docker container
  • Heroku
  • standalone nodejs app

Here is a reminder for myself on how to pull an upgrade properly..

The Docker way

docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
69bc8e824d0c fixer/ghostfixer:latest "bash /ghost-start" About an hour ago Up 54 minutes 0.0.0.0:3333->2368/tcp blog

docker stop blog

docker rm blog

docker run --name="blog" --restart=always -d -p 3333:2368 -v /var/www/data.ghost:/ghost-override fixer/ghostfixer

We can check the progress by executing docker logs blog that gives us a perfect idea of what is actually happening: the full logs of the console messages ghost wrote during startup..

docker exec -ti blog bash gives us a command prompt where we can mess around the same way as if we would have ghost installed locally...