Activate ONLYOFFICE Docs Developer
To activate ONLYOFFICE Docs Developer Edition, place the license.lic file you received after purchase in your installation. ONLYOFFICE Docs then becomes registered and full-featured. Where the file goes depends on how ONLYOFFICE Docs is installed — the sections below cover each installation type.
Docker installation
When you are using the Docker container, the license.lic file can be placed in any folder (e.g., /app/onlyoffice/DocumentServer/data/license.lic), but you will need to mount this folder when the container starts:
sudo docker run -i -t -d -p 80:80 --restart=always \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-e JWT_SECRET=my_jwt_secret onlyoffice/documentserver-de
After that, your version of ONLYOFFICE Docs Developer Edition will become registered and full-featured.
Linux installation
When you are a Linux distribution user, the license.lic file is placed in the following folder:
/var/www/onlyoffice/Data/license.lic
After that, your version of ONLYOFFICE Docs Developer Edition will become registered and full-featured.
Windows installation
When you are a Windows user, the license.lic file is placed in the following folder:
%ALLUSERSPROFILE%\ONLYOFFICE\Data\license.lic
After that, your version of ONLYOFFICE Docs Developer Edition will become registered and full-featured.
Kubernetes installation
If you deployed ONLYOFFICE Docs on Kubernetes, the license is stored in a Kubernetes secret created from the license.lic file and passed to the Helm chart. Follow the steps in Deploy the ONLYOFFICE Docs license in the Kubernetes guide.