Pi stack behind Nginx Proxy Manager: remove Caddy and cert-sync (D-120)
The server publishes 8080 on the Kvitt Pi's LAN interfaces and trusts X-Forwarded-For only from HA_HOST, NPM's LAN address (an IPv4 literal, checked by install.sh). KVITT_PUBLIC_HOST (owner-chosen, not icehack.asuscomm.com, which is NPM's proxy host for Home Assistant) builds KVITT_PUBLIC_URL. Only fcm-service-account.json and rclone.conf are installed; install.sh removes the Caddyfile, the Home Assistant SSH key, known_hosts and the certs and caddy_data volumes left by the earlier stack. Health checks: port 8080, then through NPM. The cert-sync image leaves the workflow and build-images.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build the three Kvitt images for linux/arm64 on the Mac and push them to the Gitea registry (SPEC §10.3).
|
||||
# Build the two Kvitt images for linux/arm64 on the Mac and push them to the Gitea registry (SPEC §10.3).
|
||||
# The Mac fallback for the Gitea Actions workflow .gitea/workflows/build-images.yaml (which is the normal path).
|
||||
# Usage: infra/build-images.sh [tag] tag defaults to the short git SHA of HEAD; `latest` is always tagged too.
|
||||
#
|
||||
# Images (D-104): ${KVITT_REGISTRY}/kvitt-server (context server/), kvitt-cert-sync (infra/cert-sync),
|
||||
# kvitt-backup (infra/backup). KVITT_REGISTRY and the optional credentials come from infra/secrets/registry.env
|
||||
# (git-ignored):
|
||||
# Images (D-104, D-120): ${KVITT_REGISTRY}/kvitt-server (context server/) and kvitt-backup (infra/backup).
|
||||
# KVITT_REGISTRY and the optional credentials come from infra/secrets/registry.env (git-ignored):
|
||||
# KVITT_REGISTRY=gitea.lan/jacobh2
|
||||
# KVITT_REGISTRY_USER=<gitea user> optional
|
||||
# KVITT_REGISTRY_TOKEN=<token, write:package> optional
|
||||
@@ -41,7 +40,6 @@ registry_host="${registry%%/*}"
|
||||
# name|context|dockerfile
|
||||
images=(
|
||||
"kvitt-server|server|server/Dockerfile"
|
||||
"kvitt-cert-sync|infra/cert-sync|infra/cert-sync/Dockerfile"
|
||||
"kvitt-backup|infra/backup|infra/backup/Dockerfile"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user