Categories
Web blog

Migrated to WordPress Docker container

After some deliberation, I’ve moved this site to a Docker container. My intention is to have all my web sites and services Dockerised, and sitting behind a reverse proxy server (originally Apache, but see bottom of post for NGINX config). Here are some issues I enountered and what was required to fix them.

Categories
Web blog

Using Webpack with Gulp to bundle JavaScript modules

I have been using Gulp for some years now but considered moving to Webpack in order to bundle JavsScript modules into a single transpiled file. Rather than replace all my Gulp tasks with Webpack (which personally, I find a little awkward), I instead opted to keep Gulp but using Webpack within a task when bundling JavaScript modules. This is pretty easy to setup, and give the best of both worlds in my opinion.