Add docker publish flow, node blocklist & API updates

Replace docker/metadata GH Action with a docker-publish.sh driven workflow (supports auto-versioning, extra tags, multi-arch builds and optional builder). Update docs and READMEs to use the updater and new publish flow. Add server-side swarm/node blocklist support and admin nodes API. Improve auth endpoints (me, logout, switch, session accounts) and support account switching. Extend bots API to support custom LLM provider and optional endpoint. Enforce node blocklist on chat send/receive, refactor link preview handling into dedicated preview modules, and enhance notifications and posts like/repost handlers to accept both signed actions and regular auth flows. Misc: remove admin update UI details, add helper libs (media previews, node-blocklist, reposts, notifications, etc.), and minor housekeeping (pyc, workflow tweaks).
This commit is contained in:
cyph3rasi
2026-03-10 12:40:05 -07:00
parent 044196cfa7
commit b4a9d82d05
79 changed files with 4714 additions and 1114 deletions
+9 -9
View File
@@ -68,21 +68,21 @@ git push origin main
Then build and push the multi-arch image:
```bash
docker buildx build \
--builder colima \
--platform linux/amd64,linux/arm64 \
-f docker/Dockerfile \
-t ghcr.io/gnosyslabs/synapsis:latest \
-t ghcr.io/gnosyslabs/synapsis:$(git rev-parse --short HEAD) \
--push \
.
BUILDER=colima ./scripts/docker-publish.sh
```
That publishes:
- `ghcr.io/gnosyslabs/synapsis:latest`
- `ghcr.io/gnosyslabs/synapsis:<YYYY.MM.DD.N>`
- `ghcr.io/gnosyslabs/synapsis:<short-sha>`
If you are not on a Mac/Colima setup, swap `--builder colima` for whatever local buildx builder you use.
If you are not on a Mac/Colima setup, set `BUILDER` to your buildx builder or leave it empty to use the default builder.
To force an explicit version instead of auto-incrementing:
```bash
APP_VERSION=2026.03.09.10 BUILDER=colima ./scripts/docker-publish.sh
```
## 4. Update The Server
Once a new image is published, update the server with: