Hello World

This is the first post of this blog. On a more or less regular basis, I'll try to write down some of my ideas here. Please take everything with a grain of salt.

Everything here will represent my own knowledge and will always just reflect my current understanding at that time. Therefore, a hint: Everything could have changed since a decade ago.

So let's get started.

I decided to use WriteFreely to start my blog because it looked very promising at first: – Minimal look – Small binary footprint – Markdown support – Docker ready

As you may notice, I have a technical background and am now trying to advance in the field of writing. We'll see how this works out.

For the first post, I'll describe how I set up this blog:

Blog Setup

This blog is running, as already mentioned, in a Docker container on my V(irtual)P(rivate)S(erver). How this is set up will be handled in a future post. For the setup of this Docker container, I used the Docker image from Docker Hub. I then changed some configuration variables, mainly the timezone and the name of the Docker container. Additionally, I added a networks property and the necessary configurations to make my setup reachable via the web.

services:
  blog-codenagel:
    image: nephatrine/write-freely:latest
    container_name: blog-codenagel
    restart: unless-stopped
    environment:
      TZ: Europe/Berlin
      PUID: 1000
      PGID: 1000
    volumes:
      - ./data:/mnt/config
    networks:
      - caddy
    labels:
      caddy: blog.codenagel.de www.blog.codenagel.de
      caddy.reverse_proxy: "{{upstreams 8080}}"

networks:
  caddy:
    external: true

What Caddy and the additional labels are all about will be handled in a different post. I changed some configuration parameters in the writefreely.ini. This can be done either using the container itself (/mnt/config/etc) or in the mounted directory (<path to folder>/data/etc). I chose the container option and created an admin user as well. After restarting the container, I signed in, and here it is—the first post of this blog.

Have a nice day, and see you soon.