A new look and a cleanup of content plus good bye github pages.

Posted December 20, 2016

I had big plans for 2016, It was going to be the year of blogging. Reality hit hard a few months back when I realised that my todo list still had some many blog posts pending work. As many of you know I made the hard descision to leave Inviqa where I had become Technical Team Lead and spent many years working on cutting edge Magento 1 and Magento 2 installs to persue a role as Architect at Magento. On top of this I also hit a record number of speaking engagments traveling all around the UK to Mexico, Las Vegas NYC and many more.

Fear not the blog is back. Instead of just throwing new content on a site I just couldnt bear to look at any more I have taken a few weeks and poured blood sweat and love into what you see now.

The site used to be hosted on github pages I mean who doesnt love free hosting, but this new site I wanted to use more plugins that Jekyll has to offer and github pages just didnt cut it. With my new love of docker the choice was simple. I spun up a digital ocean droplet and threw docker on there.

I created my own docker image that has a github webhook so that any time I push to master branch a script on my server re generates my docker image with new jekyll build evertunally I want to build this out into docker hub but for now it just works.

I also found a nice docker image for creating reverse nginx proxies, By including this in your docker file and setting variables the docker container will re generate nginx configuration to allow for host name lookups on the fly:

nginx-proxy:
  image: jwilder/nginx-proxy
  container_name: support-nginx-proxy
  ports:
    - "80:80"
  volumes:
    - /var/run/docker.sock:/tmp/docker.sock:ro

And for each docker image you have just include:

    environment:
  - VIRTUAL_HOST=www.myacedomain.com

Everytime a change is made to the docker file the nginx container re builds.

What can you look forward to in 2017 from me? Well I still have my year in review post I want to get out. Yet 2017 will be much more talking, more mage casting and lots more blogging.

You might notice that on the homepage there are less posts. Well dont worry no content is lost. It can all be searched via my cool new search bar and under the categories section.

You may also find these related posts interesting: Developer Book Club All hail Xdebug and lets let var dump die Docker and Docker Sync Patching Magento 2 vendor directory