Improve timestamp handling and event navigation
This commit is contained in:
@@ -13,6 +13,7 @@ A pragmatic list for the first production-ish Monlet stand-up. Adjust per enviro
|
||||
- [ ] Provision PostgreSQL 16+.
|
||||
- [ ] Create `monlet` database and role with `CREATE`/`USAGE` on the schema.
|
||||
- [ ] Set `MONLET_DATABASE_URL=postgresql+asyncpg://...`.
|
||||
- [ ] Keep database/server runtime timezone at UTC; only UI/notifier presentation should use local timezones.
|
||||
- [ ] Run `alembic upgrade head` from a one-shot container or the server image.
|
||||
- [ ] Verify `\dt` shows `agents, checks, events, incidents, notification_outbox`.
|
||||
|
||||
@@ -39,7 +40,8 @@ A pragmatic list for the first production-ish Monlet stand-up. Adjust per enviro
|
||||
|
||||
## 6. Web UI
|
||||
|
||||
- [ ] Set `MONLET_API_BASE_URL` and `MONLET_API_TOKEN` for the web container.
|
||||
- [ ] Set `MONLET_API_BASE_URL`, `MONLET_API_TOKEN`, and optional `MONLET_WEB_TIME_ZONE` for the web container.
|
||||
- [ ] Set optional `MONLET_NOTIFICATION_TIME_ZONE` for human-readable notifier timestamps.
|
||||
- [ ] Browse `/`, `/agents`, `/checks`, `/incidents`, `/events`, `/outbox`.
|
||||
- [ ] Verify the web image does not log the token (`docker logs` greps clean).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user