chore: trips catch-up migration (0011) + docs for Komodo push-to-deploy
ci / lint-test (push) Successful in 43s
ci / lint-test (push) Successful in 43s
- prisma/migrations/0011_trips: trips table, trip_id on overrides, partial index — idempotent; matches DDL already applied to prod. Applied to personal_test (integration suite was failing on missing trips relation). - README/CLAUDE.md: deployment is now push-to-deploy via Komodo (deploy-finance Procedure, Gitea webhook); compose command is fallback. - README: migrations table completed through 0011; note that the container must only be reachable via Traefik (header-trust auth).
This commit is contained in:
@@ -13,12 +13,17 @@ Personal finance tracker. Bank statements are ingested via an N8N workflow (in t
|
||||
|
||||
## Common Commands
|
||||
|
||||
**Deployment is push-to-deploy via Komodo** (since 2026-07-19): pushing to `main` on
|
||||
Gitea triggers the `deploy-finance` Procedure, which runs DeployStack `--build` on the
|
||||
`finance` stack (files_on_host over `docker/finance/` in the smarthome repo). Just
|
||||
commit and push — no manual deploy needed.
|
||||
|
||||
```bash
|
||||
# Build and deploy (from smarthome repo root)
|
||||
# Manual fallback only (from smarthome repo root), e.g. if Komodo is down
|
||||
docker compose --env-file docker/common.env --env-file docker/finance/.env \
|
||||
-f docker/finance/docker-compose.yml up -d --build
|
||||
|
||||
# IMPORTANT: docker restart does NOT pick up a new image — always use the compose command above
|
||||
# IMPORTANT: docker restart does NOT pick up a new image — push to main (or use the compose command above)
|
||||
|
||||
# DB access
|
||||
docker exec postgres-personal psql -U personal -d personal
|
||||
|
||||
Reference in New Issue
Block a user