<div dir="ltr"><div><div><div><div><div><div><div>Dear all,<br><br></div>Following some discussions that happened during the summit, I opened a GNIP about officially supporting Docker as a deployment strategy:<br><br><a href="https://github.com/GeoNode/geonode/issues/3707">https://github.com/GeoNode/geonode/issues/3707</a><br><br></div><div>For convenience, I copied the content below.<br></div><div><br></div><div>Following the procedure, please add your comments/+1s/-1s directly in the GNIP.<br><br></div><div>Thank you in advance !<br><br></div><div>Olivier Dalang<br></div><div><br><br></div><div>GNIP :<br></div><div><br></div># Overview<br><br>The idea of this GNIP is to officially support a production-grade deployment method using Docker. By production-grade, it is meant a deployment solution that satisfies basic needs in terms of performance and security.<br><br># Rationale<br><br>1. There's currently no clear deployment method supported for production (there's an entry about that in the doc, but it's incomplete and very hard to follow) which results on a lot of very poorly secured installations<br>2. Docker works on all major platforms (Windows, Linux, Mac OS X)<br>3. It's very easy to use (basically, start the whole stack in 1 command line, almost identical on any system)<br>4. It's very easy to make new releases (basically one git tag)<br>5. Similar setup for dev and production<br>6. It's possible to include features that are not strictly part of Geonode, but still essential for a production ready deployment (https encryption, backups...)<br><br>Points 1. and 6. are a major problem for smaller institutions that don't have advanced sysadmins / security experts, which represents a lot of Geonode user (just look at the Geonode gallery and at how many of them use https).<br><br># Implementation<br><br>I suggest an implementation similar to <a href="https://github.com/olivierdalang/SPCgeonode">https://github.com/olivierdalang/SPCgeonode</a> (as presented [earlier](<a href="https://lists.osgeo.org/pipermail/geonode-devel/2018-March/002108.html">https://lists.osgeo.org/pipermail/geonode-devel/2018-March/002108.html</a>) on the ML)<br><br>- Basically a Geonode-project (so that it's easy to customize, you can still get the vanilla geonode if you don't customize anything)<br>- Including customized Dockerfile (such as Nginx, Geoserver, etc.)  in the same repo rather than in external repositories, so that releasing new versions can be done all in one place and that it's easier to know what's actually being installed<br>- Including automatic ssl encryption and easy to configure backups using popular cloud provider<br>- Optionally maintain a Rancher catalog entry (which is almost 0 work)<br><br>I suggest mentioning that deployment method on the home page, making it clear that the apt-get method isn't production-ready out of the box.<br><br># Repository<br><br>This could probably live in the Geonode-project repository.<br><br><br></div></div></div></div></div><div><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div>