Today I learned: Firewalld Masquerade & Docker

While using Docker on Fedora 34 I encountered an issue where my containers would not communicate properly. So I had a Docker Compose configuration with an internal network and a default bridge network. While I could ping the various servers from inside the containers, connections to various ports were failing. So ICMP traffic was up …

Today I learned: Activating Varnish cache for Magento 2

Today I will do my best to explain how to configure Varnish cache for Magento 2.4.2. I used the official Docker image for Varnish and built a simple Dockerfile along with a Magento recommended ENV value: The default.vcl file is provided below: As you can see it’s a very simple configuration for bootstrapping the service. …

Today I learned: Nginx, WordPress and Docker

So I decided to follow this guide to spawn a wordpress site. This is an awesome guide that uses Nginx, WordPress and Docker in a wonderful orchestration via Docker Compose. I started to have a weird issue with my themes. So images were not loaded, lack of various styling resources. I couldn’t understand where the …