Adam Johnston

Posts

  • Docker Compose and WordPress

    Summary This chapter walks through building and deploying a WordPress stack with Docker. It begins with a local development environment using Docker Desktop, then moves the same stack to AWS Lightsail using Docker’s remote SSH connection support. The stack includes three main components: WordPress for the website application. MySQL for the database. WP-CLI for managing…

  • AWS Lightsail Docker Volume

    Summary This guide shows you how to attach an AWS Lightsail block storage disk to an Ubuntu instance, format and mount it at /data, and configure Docker so its named volumes live on that disk. This keeps your WordPress and database data on the larger block storage volume and ensures it persists across reboots (and…

  • Docker Desktop volumes for WordPress

    Summary This chapter explains how to create persistent Docker Desktop volumes for WordPress and MySQL using local folders on Windows, macOS, and Linux. Docker Desktop manages the volumes while allowing the data to remain accessible on your local machine. This ensures that your WordPress files and database data are retained when containers are stopped, removed,…

  • AWS Lightsail Instance for Docker

    Summary This chapter guides you through setting up an Ubuntu Lightsail instance pre-configured for Docker, enabling you to deploy and manage containers like WordPress and MySQL Server quickly. You’ll learn how to: Generate and secure a custom SSH key pair to access the instance. Use AWS CLI commands and configuration files to launch your Lightsail…