feat: unified launcher, multi-OS hardening, login alerts & auto-updates

Restructure around a single entry point (automations.sh) with a Gum wizard and
a self-extracting bundle for repo-less installs. Add scripts/oslib.sh so the
provisioning scripts (setup-host, harden-ssh, harden-jumphost, sshuser) run on
Alpine/Debian/Alma; seed root keys from globals/.
- ntfy SSH-login alerts (user, source IP, key, region, jump target) via pam_exec
- daily auto-updates: AUTO_REBOOT=idle reboots only when no SSH active; opt-in
  Alpine stable-branch upgrades (ALLOW_RELEASE_UPGRADE)
- cloud-init: generic base/jumphost + per-deployment, which harden SSH by
  default on fresh VMs
- pocket-id: optional WebFinger block (BASE_DOMAIN), tag v2.8.0
- headscale: fix oidc.expiry schema for 0.28 so the container starts
- Gitea release workflow on tag (TOKEN_GITEA); repo URLs -> Gitea
- README/LICENSE/.gitignore/.gitattributes (force LF)
This commit is contained in:
57_Wolve committed 2026-06-12 15:24:30 -05:00
1 parent 7faa9098de
commit 8fbeb8f6b0
15 files changed
+280 -195

No files matched your search

+14 -3
View File
@@ -4,10 +4,10 @@
# ─── Public hostname ────────────────────────────────────────────────────────
# Bare hostname (no scheme) of the pocket-id deployment. Used by Caddy for
# TLS issuance, by anubis as the cookie domain, and to derive APP_URL.
POCKETID_DOMAIN=id.example.com
POCKETID_DOMAIN=
# Email for Let's Encrypt registration / expiry notifications.
ACME_EMAIL=admin@example.com
ACME_EMAIL=
# ─── Pocket-ID ──────────────────────────────────────────────────────────────
# APP_URL is set automatically from POCKETID_DOMAIN in compose; no need to
@@ -37,8 +37,19 @@ PGID=1000
# Only needed while the anubis-pid service is enabled in compose.
ANUBIS_PID_KEY=
# ─── WebFinger (optional) ───────────────────────────────────────────────────
# Leave BOTH blank unless the base domain has no other web server and you want
# THIS Caddy to also serve /.well-known/webfinger (OIDC discovery for Tailscale
# et al.) at the apex. When set, deploy.sh appends a second site block.
# Otherwise use the dedicated `webfinger` deployment.
# BASE_DOMAIN apex to serve webfinger from (e.g. example.com)
# REDIRECT_URL where non-webfinger requests to the apex are 301'd
# If you set one you must set both.
BASE_DOMAIN=
REDIRECT_URL=
# ─── Image tags ─────────────────────────────────────────────────────────────
# Pin for reproducible deploys.
POCKETID_TAG=v2
POCKETID_TAG=v2.8.0
CADDY_TAG=2-alpine
ANUBIS_TAG=latest