c885aba313
infra/dev: compose stack on the Mac (server kvitt-server:dev, on-demand backup), .env.example, build/up/logs/backup/copy-google-services scripts. No Caddy, no TLS (debug builds accept http to private LAN addresses, AC-2.8). Bind-mounted data. infra/backup: alpine 3.24.2 image and backup.sh (SPEC 10.9; Drive upload skipped when RCLONE_FOLDER_ID is empty). infra/README.md for the dev stack and Firebase. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.3 KiB
Bash
32 lines
1.3 KiB
Bash
# Kvitt development stack settings (infra/dev/compose.yaml). No secret values here, ever.
|
|
# Copy to infra/dev/.env (git-ignored) to change anything; the scripts use .env when it exists,
|
|
# otherwise this file. Paths are relative to infra/dev/.
|
|
|
|
# Images built by infra/dev/build.sh.
|
|
KVITT_SERVER_IMAGE=kvitt-server:dev
|
|
KVITT_BACKUP_IMAGE=kvitt-backup:dev
|
|
|
|
# Port published on the Mac (all interfaces, so the phone on the home Wi-Fi can reach it).
|
|
KVITT_DEV_PORT=8080
|
|
|
|
# URL used in invite links. Leave empty: up.sh sets http://<Mac LAN address>:<KVITT_DEV_PORT>.
|
|
# Set it only to pin an address, for example http://192.168.1.20:8080 (private LAN address, plain http).
|
|
KVITT_PUBLIC_URL=
|
|
|
|
# Firebase project for FCM HTTP v1 (SPEC §10.4, §10.7).
|
|
KVITT_FCM_PROJECT_ID=kvitt-1337
|
|
|
|
# tracing filter (SPEC §10.4).
|
|
RUST_LOG=info
|
|
|
|
# Bind-mounted folders (git-ignored). Deleting data/ resets the dev server.
|
|
KVITT_DEV_DATA_DIR=./data
|
|
KVITT_DEV_BACKUP_DIR=./backups
|
|
|
|
# Folder holding fcm-service-account.json (git-ignored). Default: infra/secrets of this checkout.
|
|
# In a worktree without copied secrets, point it at the main checkout's infra/secrets.
|
|
KVITT_SECRETS_DIR=../secrets
|
|
|
|
# rclone remote name; unused on the dev stack because RCLONE_FOLDER_ID is always empty here.
|
|
RCLONE_REMOTE=gdrive:
|