[GeoNode-users] custom geoserver data directory in geonode docker container

Francesco Bartoli xbartolone at gmail.com
Fri Jul 15 04:02:30 PDT 2016


Hi,

you have to restart Tomcat or your java application server where geoserver is deployed. However there are several strategies to set the data directory location, you can choice your preferred from [1]. Despite this commonly works inside a docker container every time you destroy it then your data dir would be lost if that resides locally unless you adopt a strategy with a docker volume [2]

Francesco

[1] http://docs.geoserver.org/latest/en/user/datadirectory/setting.html#datadir-setting
[2] https://docs.docker.com/engine/tutorials/dockervolumes/

Il giorno 15/lug/2016, alle ore 12:30, admire <addloe at gmail.com> ha scritto:

> 
> 
> Hi
> 
> I am using the geonode in docker container and would like to set the
> geoserver data directory not to be persistent with the container because
> I would like to build and destroy the container without losing any data.
> I know in geoserver if you need to have a different data directory you
> have to change web.xml.
> 
> I can change that but how do I get to restart geoserver inside the
> container so that the changes take effect.
> 
> Regards
> 
> 
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160715/02930fbe/attachment.html>


More information about the geonode-users mailing list