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:
+24
-1
@@ -96,9 +96,20 @@ server {
|
||||
|
||||
## 🔄 Updates (migrations run automatically)
|
||||
|
||||
Use the updater for existing installs. It preserves `.env`, refreshes the installed compose/proxy files, pulls the latest published image, and restarts the stack.
|
||||
|
||||
```bash
|
||||
curl -fsSL https://synapsis.social/update.sh | bash
|
||||
```
|
||||
|
||||
If the host was installed with `PROXY=none`, the updater detects that and keeps using the proxyless compose file automatically.
|
||||
|
||||
Manual update still works if you only want to restart with the already-installed files:
|
||||
|
||||
```bash
|
||||
cd /opt/synapsis
|
||||
docker compose pull && docker compose up -d
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## 🗑️ Full Uninstall
|
||||
@@ -222,6 +233,18 @@ cd synapsis/docker
|
||||
docker compose up -d --build
|
||||
```
|
||||
|
||||
To publish a stamped GHCR image with embedded app version, commit, and build date:
|
||||
|
||||
```bash
|
||||
cd /path/to/Synapsis
|
||||
./scripts/docker-publish.sh
|
||||
```
|
||||
|
||||
That script automatically publishes:
|
||||
- `ghcr.io/gnosyslabs/synapsis:latest`
|
||||
- `ghcr.io/gnosyslabs/synapsis:<YYYY.MM.DD.N>`
|
||||
- `ghcr.io/gnosyslabs/synapsis:<short-sha>`
|
||||
|
||||
---
|
||||
|
||||
For full documentation, visit [docs.synapsis.social](https://docs.synapsis.social)
|
||||
|
||||
Reference in New Issue
Block a user