diff --git a/compose.yml b/compose.yml index 30889f4..1f28d2b 100644 --- a/compose.yml +++ b/compose.yml @@ -127,7 +127,7 @@ services: labels: - "traefik.enable=false" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - - "coop-cloud.${STACK_NAME}.version=0.4.4+v5.6.1" + - "coop-cloud.${STACK_NAME}.version=1.0.1+v6.0.4" user: "${DOCKER_USER:-1000}" healthcheck: 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 yhub-valkey: - image: valkey/valkey:8.1.10-alpine + image: valkey/valkey:8.1.11-alpine command: ["valkey-server", "--maxmemory-policy", "volatile-lru", "--appendonly", "yes", "--appendfsync", "everysec"] healthcheck: test: ["CMD", "valkey-cli", "ping"] diff --git a/release/1.0.0+v6.0.3 b/release/1.0.0+v6.0.3 new file mode 100644 index 0000000..506945f --- /dev/null +++ b/release/1.0.0+v6.0.3 @@ -0,0 +1,22 @@ +⚠️ 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. + +Before deploying, generate and insert two RSA keys: + + openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out jwt.pem + openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out yhub-jwt.pem + abra app secret insert jwt_pk v1 jwt.pem -f + abra app secret insert yhub_jwt_pk v1 yhub-jwt.pem -f + +and add to your app config: + + SECRET_JWT_PK_VERSION=v1 # generate=false + SECRET_YHUB_JWT_PK_VERSION=v1 # generate=false + +`SECRET_COLLAB_SS_VERSION` and the `collab_ss` secret are no longer used. + +After deploying (SOFT_MIGRATION is on by default), migrate all documents: + + abra app cmd backend migrate_documents + +Only then may you set SOFT_MIGRATION=false. See the README for details.