diff --git a/README.md b/README.md index 5a9998650b..53efc0eeee 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ We currently provide a docker image for testing and integration purposes. We are ``` docker pull ghcr.io/euro-office/documentserver:latest -docker run -i -t -d -p 8080:80 --restart=always -e EXAMPLE_ENABLED=true -e JWT_SECRET=my_jwt_secret ghcr.io/euro-office/documentserver:latest +docker run -i -t -d -p 8080:80 --restart=always -e EXAMPLE_ENABLED=true -e JWT_SECRET=my_long_jwt_secret_at_least_32_chars ghcr.io/euro-office/documentserver:latest ``` ### Building diff --git a/build/scripts/orchestrated/docker-entrypoint.sh b/build/scripts/orchestrated/docker-entrypoint.sh index 2be78aad84..3d53eec214 100755 --- a/build/scripts/orchestrated/docker-entrypoint.sh +++ b/build/scripts/orchestrated/docker-entrypoint.sh @@ -135,7 +135,7 @@ export NODE_CONFIG='{ }, "secret": { "inbox": { - "string": "'${JWT_SECRET_INBOX:-${JWT_SECRET:=secret}}'" + "string": "'${JWT_SECRET_INBOX:-${JWT_SECRET:=euro-office-dev-jwt-secret-key-2026}}'" }, "outbox": { "string": "'${JWT_SECRET_OUTBOX:-${JWT_SECRET}}'" diff --git a/build/scripts/orchestrated/example-docker-entrypoint.sh b/build/scripts/orchestrated/example-docker-entrypoint.sh index e124442f87..e7c86470fd 100755 --- a/build/scripts/orchestrated/example-docker-entrypoint.sh +++ b/build/scripts/orchestrated/example-docker-entrypoint.sh @@ -5,7 +5,7 @@ export NODE_CONFIG='{ "siteUrl": "'${DS_URL:-"/"}'", "token": { "enable": '${JWT_ENABLED:-false}', - "secret": "'${JWT_SECRET:-secret}'", + "secret": "'${JWT_SECRET:-euro-office-dev-jwt-secret-key-2026}'", "authorizationHeader": "'${JWT_HEADER:-Authorization}'" } } diff --git a/document-server-integration b/document-server-integration index 3c01ddb5d0..41183fb4d8 160000 --- a/document-server-integration +++ b/document-server-integration @@ -1 +1 @@ -Subproject commit 3c01ddb5d05e2a6de2cbb41b568fb3fd525c2c0a +Subproject commit 41183fb4d84dd5d0f6abc463aecf4e6215084ea0