From 8bb708f1b20507f1215d89aabedd6419bbd3a801 Mon Sep 17 00:00:00 2001 From: Eric Wagoner Date: Tue, 22 Sep 2026 15:40:46 -0400 Subject: [PATCH] Deploy notes: the game answers at hands.kestrelsnest.social Co-Authored-By: Claude Fable 5.1 --- deploy/README.md | 10 ++++++---- deploy/setup-droplet.sh | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/deploy/README.md b/deploy/README.md index 15df7f5..1b96769 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -20,9 +20,10 @@ upgrades independent. ## Current production - Droplet: `waving-hands` (nyc3, s-1vcpu-512mb-10gb, tag `waving-hands`), IP 159.203.98.71 -- URL: https://waving-hands.159.203.98.71.sslip.io (zero DNS). A name under - kestrelsnest.social needs an A record at Hover, then the name added to the - first line of /etc/caddy/Caddyfile and `systemctl reload caddy`. +- URLs: https://hands.kestrelsnest.social (A record at Hover, where + kestrelsnest.social's DNS lives) and https://waving-hands.159.203.98.71.sslip.io + (always works, zero DNS). Caddy serves both from the first line of + /etc/caddy/Caddyfile. - Everyday deploy: `deploy/deploy.sh 159.203.98.71` ## New droplet from scratch @@ -31,7 +32,8 @@ upgrades independent. --size s-1vcpu-512mb-10gb --image ubuntu-24-04-x64 \ --ssh-keys --tag-name waving-hands --wait` 2. `scp deploy/setup-droplet.sh root@:/root/ && ssh root@ \ - "bash /root/setup-droplet.sh waving-hands..sslip.io"` + "bash /root/setup-droplet.sh 'hands.kestrelsnest.social, waving-hands..sslip.io'"` + (point the A record at the new IP first, or leave the real name out until it is). 3. `deploy/deploy.sh ` The sslip.io hostname works with no DNS at all. To add a real name, point an diff --git a/deploy/setup-droplet.sh b/deploy/setup-droplet.sh index 2f6ecbe..2249b72 100755 --- a/deploy/setup-droplet.sh +++ b/deploy/setup-droplet.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash # One-time droplet setup. Run ON the droplet as root: -# bash setup-droplet.sh waving-hands..sslip.io +# bash setup-droplet.sh 'hands.kestrelsnest.social, waving-hands..sslip.io' +# The argument is the Caddy site address line: one name, or several +# separated by commas. Every name must already resolve to this droplet. # Waving Hands is a static site: Caddy serves the built files and terminates # TLS. There is no application process, so nothing but Caddy and rsync is # installed.