Adam Johnston

Posts

  • Securing WordPress with Docker and AWS Lightsail

    Summary In this chapter, we will improve the security of our WordPress stack by moving the database passwords out of the main docker-compose.yml file. Instead of storing passwords directly inside the Compose file, we will use Docker Secrets in conjunction with Docker Swarm. This allows the mysql, wordpress, and wpcli services to read password values…