Thanks for your feedback. Yes I think that setting environment variables is the best way. I was not aware of the helpcenter page.
For example I already set the variable WOPI_ENABLED=true
.
This variable is mapped to
"wopi": {
"enable": true
}
which is surprising as you would guess that this JSON setting maps to a variable like WOPI_ENABLE
.
For example: what if I want to set wopi: {host:....}
? I already tried setting WOPI_HOST but this did not work - now I understand that this seems not to be a supported configuration parameter.
Why do you not use a kind of parser, checking all environment variables and if it matches a JSON structure from the default.json than overtake this into the local.json. This would be super cool as this gives me more control about the configuration details running OnlyOffice in docker-compose or Kubernetes?
(you know our other discussion about the WOPI setup in Docker-Compose)