Ghost v1.0.0 on Docker
Upgrade your docker backed Ghost to v1.0.0 (pretty outdated...)
Upgrade your docker backed Ghost to v1.0.0 (pretty outdated...)
A must when blogging is of course to post a tweet whenever you publish a new post! It took me literally 15 minutes to set this up with Huginn.
When moving this blog from a temporary url to my main jonnev.se I got the dreadful "Too many redirects". There is a simple fix which I found here [https://github.com/TryGhost/Ghost/issues/2796#issuecomment-51871863]. Add proxy_set_header X-Forwarded-Proto https; to the conf. Mine now looks like this: server { listen 443 ssl; ssl_certificate /etc/letsencrypt/live/jonnev.se/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/jonnev.se/privkey.pem; server_name jonnev.se www.jonnev
There are 2 things you need to do to get ghost to run in production mode with docker: Add the NODE_ENV docker run -d --name ghost -v /path/to/blog:/var/lib/ghost -e NODE_ENV=production -p 2368:2368 ghost This is for ghost v0.11.x. For v1.x.x have a look at this post [https://jonnev.se/ghost-v1-0-0-on-docker/]! Note: If you're having trouble with the permissions on files in the volume, for example when trying to pull/add a theme, add this to the command above: -u $(id -u $USER):$(id -g
So I figured I wanted to have a blog and in the process redo my homepage. A friend recommended Ghost and when trying out their hosted Pro version I thought it looked great! This is for ghost v0.11.x. For v1.x.x have a look at this post [https://jonnev.se/ghost-v1-0-0-on-docker/]! I wanted a clean and simple theme and when looking through the Ghost marketplace I found Steam [https://github.com/epistrephein/Steam]. I had some experience with Handlebars already and I quickly glanced through the