Commit Graph
5 Commits
Author SHA1 Message Date
nlevesque 445ed8892f Add healthchecks: app checks /login (200), pocketbase checks /api/health
Coolify's default healthcheck hits / expecting 200, but the app answers
302 (redirect to /login), which marked the stack exited:unhealthy and
stopped it. app also now waits for pocketbase to be healthy.
2026-07-28 13:03:51 +02:00
nlevesque 9eb3ca137f Fix migration: use plain-JSON field defs (JSVM has no Text/Select globals) 2026-07-28 12:42:00 +02:00
nlevesque 2df1325a09 Add env-driven SMTP and app identity settings for PocketBase
- pb_hooks/main.pb.js: bootstrap hook applying SMTP + meta settings from
  env vars on every boot (mail disabled when SMTP_HOST is unset)
- docker-compose.yml: expose SMTP_* / PB_APP_URL on the pocketbase service
- pocketbase/Dockerfile: bundle pb_hooks
- README: document the new variables
2026-07-28 10:29:04 +02:00
nlevesque 3d712b8c57 Add self-hosted PocketBase stack with auto-migrations
- docker-compose.yml: app + pocketbase services (PB internal to the network)
- pocketbase/: pinned PocketBase image, superuser bootstrap via env vars
- pb_migrations: production schema (collections, rules, public_users view)
  applied automatically on first boot
- pocketbase/pb_schema.json: schema export kept as reference
- README: full-stack deployment docs
2026-07-28 09:38:07 +02:00
nlevesque c3c1f5e216 Initial commit 2026-07-28 08:58:44 +02:00