diff --git a/9/mysql-tomcat/xwiki/docker-entrypoint.sh b/9/mysql-tomcat/xwiki/docker-entrypoint.sh index 249fa7277fefb84487a649c3961513f080d5ec7e..4261f2254fb7d47dac71cab296ecec10e42592ca 100755 --- a/9/mysql-tomcat/xwiki/docker-entrypoint.sh +++ b/9/mysql-tomcat/xwiki/docker-entrypoint.sh @@ -93,6 +93,8 @@ function configure() { xwiki_set_cfg 'xwiki.store.attachment.hint' 'file' xwiki_set_cfg 'xwiki.store.attachment.versioning.hint' 'file' xwiki_set_cfg 'xwiki.store.attachment.recyclebin.content.hint' 'file' + echo ' Using filesystem-based deleted documents...' + xwiki_set_cfg 'xwiki.store.recyclebin.content.hint' 'file' echo ' Generating authentication validation and encryption keys...' xwiki_set_cfg 'xwiki.authentication.validationKey' "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)" xwiki_set_cfg 'xwiki.authentication.encryptionKey' "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)" diff --git a/9/postgres-tomcat/xwiki/docker-entrypoint.sh b/9/postgres-tomcat/xwiki/docker-entrypoint.sh index 249fa7277fefb84487a649c3961513f080d5ec7e..4261f2254fb7d47dac71cab296ecec10e42592ca 100755 --- a/9/postgres-tomcat/xwiki/docker-entrypoint.sh +++ b/9/postgres-tomcat/xwiki/docker-entrypoint.sh @@ -93,6 +93,8 @@ function configure() { xwiki_set_cfg 'xwiki.store.attachment.hint' 'file' xwiki_set_cfg 'xwiki.store.attachment.versioning.hint' 'file' xwiki_set_cfg 'xwiki.store.attachment.recyclebin.content.hint' 'file' + echo ' Using filesystem-based deleted documents...' + xwiki_set_cfg 'xwiki.store.recyclebin.content.hint' 'file' echo ' Generating authentication validation and encryption keys...' xwiki_set_cfg 'xwiki.authentication.validationKey' "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)" xwiki_set_cfg 'xwiki.authentication.encryptionKey' "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)"