josh.code

Posts

WordPress on Docker: the videos

WordPress on Docker: the videos

I have created a three video series on running WordPress in Docker. This is different than my previous posts on Docker and WordPress. The posts I had written before focused mainly on my journey of moving my site to Docker. This means that many pieces were directly tied to my implementation. These videos and code does not have that requirement. The repository can be used to create a WordPress site from scratch and having running in the cloud in just a few minutes.

WordPress Docker containers

WordPress Docker containers

This post will cover what each container in our Dockerized WordPress setup does. This should not be viewed as a standalone post as there is a video playlist that covers more. The playlist demonstrates how you can quickly and easily bring up a Dockerized WordPress install. First we will start with an image that will explain so much with so little. Yes, there are six different containers. This is so that we can keep each container with a single purpose and even a single process in most cases.

How to link Docker containers together

How to link Docker containers together

This is the third post in a series about moving my WordPress blog into the cloud using Docker. Blog Post Series Ansible for Server Provisioning WordPress and Docker the correct way How to link Docker containers together At this point we have a bunch of docker images, but no docker containers running. We will fix that in this post. We will look at docker-compose and how it orchestrates bringing up all of our docker containers.

WordPress and Docker the correct way

WordPress and Docker the correct way

Blog Post Series Ansible for Server Provisioning WordPress and Docker the correct way How to link Docker containers together We now have a good foundation to build our WordPress site off of. Docker is installed and ready. We will quickly cover why Docker, some best practices, and finally the actual how of our Docker containers. Much like the previous post, this is not designed to be an introduction to Docker. There are literally thousands of intro to Docker articles and by the time I publish this that number will have doubled.

My talk on React

This is a talk I gave for a local Meetup about React. It is called ‘Why I like React’. I cover the basics of building React components. Then I spend some time talking about functional programming. Finally I wrap it all together to show how React is functional in nature. The final demo shows how to ‘think in React’. Presentation Slides Github Repo

A trip to Europe

I have been away for the last two weeks on a wonderful trip to Europe with my wife. The planning, the actual trip, and the recovery has slowed down the writing of my posts. I was hoping to have the Docker post done before I left, but it did not work out. This is not a travel blog, but I do want to note a few things I learned on our trip.

Great post about React

Great post about React

Removing User Interface Complexity, or Why React is Awesome This is a great post about React written by James Long. It explains why I love React better than I could myself. React makes thinking about your user interface incredibly simple. Data flows in and is rendered.

Ansible for Server Provisioning

Ansible for Server Provisioning

This post became much longer than I had anticipated. There was going to be a section that covered the changes to WordPress that will make it get its configuration from the environment. That will now be in the next post. This means that you may have issues if you deploy a brand new install of WordPress following this post. It is a chicken and the egg situation. Ansible sets up docker, but the changes to WordPress rely on the docker configuration which is not setup yet, so either way steps would be missing.

A talk on building packages for Node.js

A talk on building packages for Node.js

This is a talk I gave for a local Meetup about node.js. I cover building an Express-like package from scratch. It does not have all the features of Express and is not ready for production. It does show you how to build a package including testing. The example package is at https://github.com/johanan/example-simple-app. The project in the video is at https://github.com/johanan/Local-Variables-Dec-2014. You may have to turn the volume up as it was recorded from the audience.

Demo video for Ansible and docker

Demo video for Ansible and docker

I have created a short video where I demonstrate using Ansible and docker together. I create a new droplet and Digital Ocean and create a working copy of my blog about 7 minutes. The best part is that it is completely reproducible. I will cover everything in the video in depth over the next few weeks.