Everytime the docker webstudio comes down and brought up, I have to reconfigure everything on the webstudio like design repository, deployment repository and user repository and so on.
I would like to know if we can pass all of this as environment variables to docker container when the webstudio container is starting, something similar to how a webservice container takes the configurations.
I was going through the documentation and could not find any inputs on this.
Looking forward for your help on this!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It will skip the configuration process, but now you have to copy the files already done for the correct folders.
The settings in those files must be specific to your environment, so i recomend you to configure your webstudio manually, then open bash from container and copy those files/folders:
Hello Team,
Everytime the docker webstudio comes down and brought up, I have to reconfigure everything on the webstudio like design repository, deployment repository and user repository and so on.
I would like to know if we can pass all of this as environment variables to docker container when the webstudio container is starting, something similar to how a webservice container takes the configurations.
I was going through the documentation and could not find any inputs on this.
Looking forward for your help on this!
Hello,
We went through the same problem in the past few days, and we discovered a hack way to get it done.
Create a dockerfile using the openltablets/webstudio as base image (FROM) and set this env variable:
ENV JAVA_OPTS="-Dwebstudio.configured=true -Dwebstudio.home=/usr/local/openl_home"
It will skip the configuration process, but now you have to copy the files already done for the correct folders.
The settings in those files must be specific to your environment, so i recomend you to configure your webstudio manually, then open bash from container and copy those files/folders:
/usr/local/openl_home/system-settings
/usr/local/tomcat/conf/context.xml
Obs.: you openl_home path maybe diferent from mine. You configure it in the config wizard.
Then in your docker you just to need to create the JAVA_OPTS env variable and copy those already configured files.
Thansk Jean Robert! I will check this out.