Deploy notes: the game answers at hands.kestrelsnest.social
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
4d361198cd
commit
8bb708f1b2
+6
-4
@@ -20,9 +20,10 @@ upgrades independent.
|
|||||||
## Current production
|
## Current production
|
||||||
|
|
||||||
- Droplet: `waving-hands` (nyc3, s-1vcpu-512mb-10gb, tag `waving-hands`), IP 159.203.98.71
|
- 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
|
- URLs: https://hands.kestrelsnest.social (A record at Hover, where
|
||||||
kestrelsnest.social needs an A record at Hover, then the name added to the
|
kestrelsnest.social's DNS lives) and https://waving-hands.159.203.98.71.sslip.io
|
||||||
first line of /etc/caddy/Caddyfile and `systemctl reload caddy`.
|
(always works, zero DNS). Caddy serves both from the first line of
|
||||||
|
/etc/caddy/Caddyfile.
|
||||||
- Everyday deploy: `deploy/deploy.sh 159.203.98.71`
|
- Everyday deploy: `deploy/deploy.sh 159.203.98.71`
|
||||||
|
|
||||||
## New droplet from scratch
|
## New droplet from scratch
|
||||||
@@ -31,7 +32,8 @@ upgrades independent.
|
|||||||
--size s-1vcpu-512mb-10gb --image ubuntu-24-04-x64 \
|
--size s-1vcpu-512mb-10gb --image ubuntu-24-04-x64 \
|
||||||
--ssh-keys <your-key-ids> --tag-name waving-hands --wait`
|
--ssh-keys <your-key-ids> --tag-name waving-hands --wait`
|
||||||
2. `scp deploy/setup-droplet.sh root@<ip>:/root/ && ssh root@<ip> \
|
2. `scp deploy/setup-droplet.sh root@<ip>:/root/ && ssh root@<ip> \
|
||||||
"bash /root/setup-droplet.sh waving-hands.<ip>.sslip.io"`
|
"bash /root/setup-droplet.sh 'hands.kestrelsnest.social, waving-hands.<ip>.sslip.io'"`
|
||||||
|
(point the A record at the new IP first, or leave the real name out until it is).
|
||||||
3. `deploy/deploy.sh <ip>`
|
3. `deploy/deploy.sh <ip>`
|
||||||
|
|
||||||
The sslip.io hostname works with no DNS at all. To add a real name, point an
|
The sslip.io hostname works with no DNS at all. To add a real name, point an
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# One-time droplet setup. Run ON the droplet as root:
|
# One-time droplet setup. Run ON the droplet as root:
|
||||||
# bash setup-droplet.sh waving-hands.<droplet-ip>.sslip.io
|
# bash setup-droplet.sh 'hands.kestrelsnest.social, waving-hands.<droplet-ip>.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
|
# 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
|
# TLS. There is no application process, so nothing but Caddy and rsync is
|
||||||
# installed.
|
# installed.
|
||||||
|
|||||||
Reference in New Issue
Block a user