Mise à jour de 'compile_only_office'
parent
58c63f1ce7
commit
819095d5e9
|
@ -105,8 +105,7 @@ Les options deviennent accessible via les variable d'environement :
|
|||
- `FORCESAVE_INTERVAL`
|
||||
- `FORCESAVE_STEP`
|
||||
|
||||
```
|
||||
--- a/run-document-server.sh
|
||||
```diff
|
||||
+++ b/run-document-server.sh
|
||||
@@ -75,6 +75,10 @@ NGINX_CONFIG_PATH="/etc/nginx/nginx.conf"
|
||||
NGINX_WORKER_PROCESSES=${NGINX_WORKER_PROCESSES:-1}
|
||||
|
@ -119,17 +118,19 @@ Les options deviennent accessible via les variable d'environement :
|
|||
JWT_ENABLED=${JWT_ENABLED:-true}
|
||||
|
||||
# validate user's vars before usinig in json
|
||||
@@ -328,6 +332,10 @@ update_ds_settings(){
|
||||
@@ -328,6 +332,11 @@ update_ds_settings(){
|
||||
${JSON} -I -e "this.services.CoAuthoring.token.inbox.inBody = ${JWT_IN_BODY}"
|
||||
${JSON} -I -e "this.services.CoAuthoring.token.outbox.inBody = ${JWT_IN_BODY}"
|
||||
|
||||
+ ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.enable = ${FORCESAVE_ENABLE}'"
|
||||
+ ${JSON} -I -e "if(this.services.CoAuthoring.autoAssembly===undefined)this.services.CoAuthoring.autoAssembly={};"
|
||||
+ ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.enable = ${FORCESAVE_ENABLE}"
|
||||
+ ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.interval = '${FORCESAVE_INTERVAL}'"
|
||||
+ ${JSON} -I -e "this.services.CoAuthoring.autoAssembly.step = '${FORCESAVE_STEP}'"
|
||||
+
|
||||
if [ -f "${ONLYOFFICE_EXAMPLE_CONFIG}" ]; then
|
||||
${JSON_EXAMPLE} -I -e "this.server.token.enable = ${JWT_ENABLED}"
|
||||
${JSON_EXAMPLE} -I -e "this.server.token.secret = '${JWT_SECRET}'"
|
||||
|
||||
```
|
||||
|
||||
- build le paquet
|
Loading…
Reference in New Issue
Block a user