Compare commits

..
4 Commits
Author SHA1 Message Date
autonomic-bot 4c5bf8578e Merge upstream main into v6 upgrade branch
cc-ci/testme cc-ci: success
Keep the runtime jwt-keys sidecar (cc-ci cannot pre-insert PEM secrets) and
the Rust docspec image on top of upstream v6.0.4.
2026-10-30 03:43:28 +00:00
autonomic-bot 2b903a1300 chore: bump impress to v6.0.4, redis to 8.10.3 2026-10-30 03:28:53 +00:00
autonomic-bot ae725c7e00 chore: upgrade impress to v6.0.2 (yhub collaboration), nginx to 1.31.8, docspec 1.21.4
cc-ci/testme cc-ci: success (all five stages, level 5/5)
2026-10-23 03:25:27 +00:00
Linus Gasser 262bd5a02e Adapt recipe to Docs v6 (yhub collaboration server)
- the new yhub service needs new initialisation and RSA keys
- SOFT_MIGRATION on by default, add migrate_documents command
- back up the yhub database too
- document the v5 -> v6 upgrade in README and release/next

Following the [C4DT AI Policy](https://git.coopcloud.tech/c4dt/ai-policy/src/branch/main/AI-POLICY.md):

 #LLM_vibe
 #LLM_model Claude Opus 5.5

- [x] I take full responsibility for this code
- [x] I understand every line of this code
- [x] I tested this code thoroughly on my own computer / servers
- [x] None of the commit messages were created using LLMs
- [x] I will participate in any discussion on my own and will not use an LLM for the discussion
2026-10-23 03:18:31 +00:00
3 changed files with 12 additions and 13 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ services:
labels: labels:
- "traefik.enable=false" - "traefik.enable=false"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=2.0.0+v6.0.4" - "coop-cloud.${STACK_NAME}.version=1.0.1+v6.0.4"
user: "${DOCKER_USER:-1000}" user: "${DOCKER_USER:-1000}"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"] test: ["CMD", "curl", "-f", "http://localhost:8080"]
@@ -231,7 +231,7 @@ services:
# Valkey of yhub: holds updates not yet persisted to postgres, so it is a store, not a cache # Valkey of yhub: holds updates not yet persisted to postgres, so it is a store, not a cache
yhub-valkey: yhub-valkey:
image: valkey/valkey:9.1.3-alpine image: valkey/valkey:8.1.11-alpine
command: ["valkey-server", "--maxmemory-policy", "volatile-lru", "--appendonly", "yes", "--appendfsync", "everysec"] command: ["valkey-server", "--maxmemory-policy", "volatile-lru", "--appendonly", "yes", "--appendfsync", "everysec"]
healthcheck: healthcheck:
test: ["CMD", "valkey-cli", "ping"] test: ["CMD", "valkey-cli", "ping"]
-1
View File
@@ -1 +0,0 @@
Upgrade valkey to latest version
+10 -10
View File
@@ -1,13 +1,13 @@
Deployability + docspec fix on top of 2.0.0+v6.0.4. ⚠️ Major upgrade to Docs v6: the collaboration server is replaced by the new `yhub`
service, and existing documents have to be migrated to it, or they open EMPTY.
The backend and yhub RSA keys are now generated automatically on first deploy `SECRET_COLLAB_SS_VERSION` and the `collab_ss` secret are no longer used. The two
into the `jwt_keys` volume (the `jwt-keys` service) and reused afterwards; no RSA keys the backend and yhub sign with are generated automatically on first
manual secret insertion is needed. `SECRET_JWT_PK_VERSION` and deploy into the `jwt_keys` volume (the `jwt-keys` service) and reused afterwards;
`SECRET_YHUB_JWT_PK_VERSION` are no longer used. no manual secret insertion is needed.
Docspec moves to the Rust `ghcr.io/docspec/api:1.21.4` (port 3000), which Docs After deploying (SOFT_MIGRATION is on by default), migrate all documents:
>= 5.7 expects; the archived Elixir `ghcr.io/docspecio/api` (port 4000) is
removed.
`yhub-valkey` is 9.1.3-alpine (from upstream 2.0.0); safe for this standalone, abra app cmd <app-name> backend migrate_documents
no-auth deployment (see the valkey 9 release notes).
Only then may you set SOFT_MIGRATION=false. See the README for details.