Jakob Vase

Investigations

2024-10-25 VPC rootless container server

Today I succesfully set up a self-updating, self-rebooting, self-starting, self-certificating web server that I wrote myself, running rootless podman.

This is a quick note on the requirements for setting that up. For all the detours go to the repository at https://github.com/jakobvase/rust-score-tracker.

Prerequisites

This guide is probably only relevant if you’re running Debian 11 and Podman 4.3, which is the default on Debian 11.

Setup the vpc

Run your webserver

podman run -d -p 8000:80 -p 8001:443 \
--name rust_score_tracker_server \
-v rust-score-tracker-data:/app/data \
-v /home/user/config.json:/app/config.json \
-v "/home/user/score-tracker-static/.well-known/acme-challenge:/app/acme" \
-v "/etc/letsencrypt:/app/certs" \
rust-score-tracker --config /app/config.json

Automatic restart on reboot

If you run into problems, I recommend looking at the documentation for your version of Podman. For 4.3, that’s here: https://docs.podman.io/en/v4.3/markdown/podman-generate-systemd.1.html

2024-05-26 Setting up this website

I had some ideas for how I wanted to set up this website. This is my journal documenting what I did, what worked, what didn’t, what I learned, and how my vision changed to reflect that learning.

I want:

Other things I want:

2024-01-05 Search engines

2024-01-05 What composes a Rust graphql server

For a rust graphql server, I need to understand what is required to have it. I’ve read about the following:

2023-03-01 Storage

tl;dr

I chose MEGA for my current storage needs, but I’m not completely happy with it. Ente is really strong too.

Requirements

I’ve looked into storage solutions. I want our family photos and videos to be available to us as long as anyone wants them to be there. I want my wife’s photos and texts to be stored somewhere quite safe. I want it to be easy to share our favourite photos and videos, when we need to, and I want it to be easy for others to upload photos and videos of us to us. I don’t want to manage my own servers, as that comes with a lot of other management (what hardware, what operating system, security, how much raid-storage, multiple places, static dns, etc).