diff --git a/CHANGELOG.md b/CHANGELOG.md index 02ff33b..0c334c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + + ## [0.2.8] ### Added - A renewal reminder on each channel. Each scheduler pass ends with a sweep for users whose newest batch on that channel has no JWT dated today or later; from the day after the last JWT day, at the user's hour, each gets one push (`Keep your alerts going`, data `type: alert_search` with `reason: renewal`) or one text (`Gift Economies: your text alerts have ended. Open the app to renew them: https://giftopia.me/deep-link/new-activity Reply STOP to end.`) pointing at New Activity, where the app re-authorizes. diff --git a/README.md b/README.md index 79c8924..a56c636 100644 --- a/README.md +++ b/README.md @@ -845,9 +845,7 @@ Optional: `DEFAULT_ENDORSER_API_SERVER` / `DEFAULT_PARTNER_API_SERVER` are honor ```bash docker build --no-cache -t notify-wakeup-api:amd-$NOTIFY_WAKEUP_API_VERSION --platform linux/amd64 . -docker run --env-file notify-wakeup-api.env -p 3003:3003 \ - -v notify-wakeup-data:/app/data \ - notify-wakeup-api +sudo docker run -d -p 3003:3003 --env-file ~/notify-wakeup-api.env -v ~/notify-wakeup-api-db:/data --name notify-wakeup-api notify-wakeup-api:amd-$NOTIFY_WAKEUP_API_VERSION ``` The image runs `node dist/index.js`. Mount a volume at `/app/data` (or set `NOTIFY_DATA_DIR` to another mounted path). Do not scale this container to multiple replicas. @@ -874,7 +872,8 @@ beside the running service, and it reads the service's own environment, so it needs no configuration of its own: ``` -docker exec -it node dist/tools/smsWatch.js +docker exec -it notify-wakeup-api node dist/tools/smsWatch.js +# ... or: pkgx pnpm run sms:watch -- --db path/to/notify.sqlite # a local copy ``` diff --git a/package.json b/package.json index 903d488..cb6f2f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notification-wakeup-service", - "version": "0.2.8", + "version": "0.2.9-beta", "private": true, "type": "module", "packageManager": "pnpm@11.4.0",