Stratos running inside docker [1] does not use the stratos installer. At the moment, the docker build copies the config files from tools and uses sed to set the values at runtime. I didn't realise product also contained the config files. I would prefer to just have the config files in product and set the values in the docker run script.
--- [1] https://github.com/apache/stratos/tree/master/tools/stratos-docker-images/stratos On 20 Aug 2014 06:30, "Gayan Gunarathne" <gay...@wso2.com> wrote: > Do we recommend to use the Stratos product build itself without using the > Stratos installer? > > If we recommed to use the Stratos installer every time,IMO we can maintain > the config in separately in stratus installer and in setup time we can add > them appropriately. > > Thanks, > Gayan > > > On Wed, Aug 20, 2014 at 10:34 AM, Udara Liyanage <ud...@wso2.com> wrote: > >> Hi, >> >> We have duplicates some product configurations files, one inside product >> and one in stratos-installer. At the boot time (when setup.sh is executed) >> config files inside products will be replaced by the config files inside >> stratos-installer. >> Maintaining duplicate config files become an overhead when a parameter is >> added to the config files in the product, it has to be added to the other >> copy as well. Otherwise it may be missing at deployment time. This occurred >> for expiryTimeout recently in autoscaler.xml >> >> Possible solutions: >> Replicate the changes as we do now, >> Maintain only the config file in stratos-installer >> or any other idea? >> >> -- >> >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > > > -- > Best Regards, > > Gayan Gunarathne > Technical Lead > WSO2 Inc. (http://wso2.com) > email : gay...@wso2.com | mobile : +94 766819985 > >