6e5981d62a
The Kvitt Pi runs Kvitt from /home/jacobhagstedt/kvitt: compose.yaml, .env, secrets/ and relative bind mounts ./data, ./backups, ./import. Both containers run as the owner's uid/gid (KVITT_UID, KVITT_GID). No install script, no /opt, no Docker daemon or system changes; operations are plain docker compose commands (README "Pi: what the owner does", RESTORE.md). Removed install.sh, deploy.sh, bootstrap.sh, backup-now.sh, install-apk.sh, lib.sh. .env holds only the keys compose.yaml reads; RCLONE_REMOTE is fixed to gdrive: in compose.yaml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQd3pEP9UeN2uifbHknQ7B
18 lines
1.0 KiB
Bash
18 lines
1.0 KiB
Bash
# Kvitt on the Kvitt Pi (SPEC §10.2, D-125). Copy to .env next to compose.yaml and set HA_HOST; check KVITT_UID and
|
|
# KVITT_GID against `id -u` and `id -g` on the Pi. Every key is read by compose.yaml and by nothing else.
|
|
|
|
# compose.yaml: image names ${KVITT_REGISTRY}/kvitt-server and /kvitt-backup (D-104).
|
|
KVITT_REGISTRY=gitea.lan/jacobh2
|
|
# compose.yaml: image tag of both services; deploy or roll back = change it, then pull and up -d.
|
|
KVITT_TAG=v1.0.0
|
|
# compose.yaml: the server's KVITT_PUBLIC_URL=https://<this>, used in invite links and the landing page (D-124).
|
|
KVITT_PUBLIC_HOST=kvitt.suorra.duckdns.org
|
|
# compose.yaml: the server's KVITT_TRUSTED_PROXY, the Home Assistant Pi's (NPM's) LAN IPv4 address, e.g. 192.168.1.20.
|
|
HA_HOST=CHANGE_ME
|
|
# compose.yaml: uid both containers run as, `id -u` of the user that owns ~/kvitt on the Pi.
|
|
KVITT_UID=1000
|
|
# compose.yaml: gid both containers run as, `id -g` of the same user.
|
|
KVITT_GID=1000
|
|
# compose.yaml: the backup's Google Drive folder id (OQ-4).
|
|
RCLONE_FOLDER_ID=1jDp1dGE5R3H2DBcXCqIPN1iWzQnPkdlV
|