Docker-DocumentServer
Docker-DocumentServer copied to clipboard
Configure license through env var and/or docker secrets
Do you want to request a feature or report a bug? Feature
What is the current behavior? The license information for the integration edition must be supplied as a file in the container, either through a mount or through baking the file into a custom image.
What is the expected behavior?
What I would like to see is the addition of two environmental variables.
If the env var LICENSE
is set, the application should read the license information from it directly.
If the env var LICENSE_FILE
is set, the application should read the license information from the path stored in this variable.
Did this work in previous versions of DocumentServer? No, this is a feature request which would bring the DocumentServer image more in line with docker best practices.
DocumentServer Docker tag: N/A
Host Operating System: N/A
Storing license data in LICENSE
var I think it's a good idea and we may discuss it with our team, @agolybev any thoughts?
But not sure about LICENSE_FILE
- we already have an option in /etc/onlyoffice/documentserver/default.json
- license:license_file
, not 100% if it works correctly
In general I like this idea
Duplicate of https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/326
I close this issue. Feel free to comment or reopen it if you got further questions.