#wordpress

2 posts.

Self-hosting Your WordPress Site at Home

/ Self-hosting /
  1. Install Docker.
  2. Create a folder.
  3. Create a plain text file named docker-compose.yml.
  4. Copy the code below.
  5. Run docker-compose up.
services:
  wordpress:
    image: wordpress:6.1.1-apache
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: wordpress
      WORDPRESS_DB_PASSWORD: password
      WORDPRESS_DB_NAME: wordpress
    volumes:
      - ./wordpress:/var/www/html
  db:
    image: mysql:5.7
    platform: linux/x86_64
    environment:
      MYSQL_DATABASE: wordpress
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: password
      MYSQL_RANDOM_ROOT_PASSWORD: "1"
    volumes:
      - ./db:/var/lib/mysql
  tunnel:
    image: cloudflare/cloudflared
    restart: unless-stopped
    command: tunnel --url wordpress:80
    depends_on:
      - wordpress
      - db

Switching to WordPress Multisite

/ Self-hosting /

One of the reasons why I don’t publish regularly is I pre-judge what I write if it’s publish-worthy.

At Human Made, we use a WordPress Multisite. Each area/interest of the organization has it’s own site. This fits nicely with my internal structure. I have multiple interest with varying degrees, and only work on those interests only when I feel like working on it.

What I did is convert this personal site to a multisite too and started creating sites for topics I’ve been putting my energy on. This removes the hesitation if it’s worth posting since it will be in it’s own little space. I can be as technical as I need to be. The audience is my future self, and probably my kids if they also happen to stumble on the same interest.

One topic I’ve been spending a lot of time on recently is FTTH. Here’s an example post of installing NAP box for my ODM: https://www.jericoaragon.com/fiber/2022/12/20/installing-my-first-nap-and-two-clients/

My plan is to document my progress using posts and compile elaborate knowledge base using pages.