<div dir="ltr">Very cool Oliver, thanks very much.<div><br></div><div>I'll give it a look asap.</div><div><br></div><div>-A.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-03-06 0:05 GMT+01:00 Olivier Dalang <span dir="ltr"><<a href="mailto:olivier.dalang@gmail.com" target="_blank">olivier.dalang@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Dear List,<br><br></div>I'm currently working on setting up a Geonode deployment method using Docker for our needs and thought it may of some interest to others, so I'd like to share it here. Note that
I'm relatively new to Geonode AND Docker, so there are definitely some aspects that could (and will) be improved.<br><br></div>The main goal is to make a setup that is easy and <u>production-ready</u> but still completely customizable.<br></div><div><br></div><div>At this point, here are the key features :<br><br></div><div>1. easy and clean to customize (it's a regular Django-Geonode project)<div>2. setup can be used both for development and for production<br></div>
</div><div>3. out of the box https encryption (using free Let's Encrypt certificates)<br></div><div>4. out of the box backups (Amazon S3 and/or Syncthings)</div><div>5. Geoserver uses Geonode user/groups from database for authentication (meaning geonode users === geoserver users, including groups)<br></div><div>6. Geoserver's data directory properly initialized (no risk of breach if user forgets to change admin/root passwords)<div>7. Rancher catalog entry (makes it possible to install through GUI only e.g. on amazon instances, especially nice if you deploy a lot of instances)<br>
<div><br></div><div>For those not familiar with Docker, this basically
means that you can have Geonode installed with all related services under Linux, Windows or Mac OS with
this command (well, you need Docker and Docker-compose installed, but that's not a big challenge) :<span style="font-family:monospace,monospace"><br>docker-compose up</span></div>
<br>I'm aware there is already the geonode-project repository that also has a Docker-compose setup, and that is very similar. I don't want to duplicate anything (but just needed to start from scratch to really understand , and if there's some interest, I'm willing to contribute back to geonode-project.<br><br>Here are the main differences (plus features 3-7 above) between geonode-project and my setup:<br><br></div><div>- All dockerfiles customized for geonode (django, geoserver, nginx and some others) are in the same github/dockerhub repo, rather than spread across several github/dockerhub repositories. This makes it much easier to know what's happening and make releases (push one tag push in one repo, then dockerhub autobuilds do the rest).<br></div><div>- Where possible, the images are based on linux alpine instead of Ubuntu, making the images much lighter<br></div><div>- All other service images use version tags (rather than just pulling latest) so that two builds will always deploy exactly the same stack)<br></div><div>- Sensitive information (admin password...) are defined using Docker secrets instead of environment variables. Those are much less subject to be leaked (in a forgotten debug statement for instance).<br></div><div>- Celery worker activity is reported in the django admin<br></div><div>- Almost all django settings are inherited from Geonode.</div><div><br></div><div>I think with the inputs of more experienced Geonode devs, I could push this forward, and maybe at some point we could support it as an official way to deploy Geonode.<br>While not perfect and probably not adapted to all cases, I think it would be a big improvement over the current deployment method through apt-get which is definitely not production-ready, even if used that way by a lot of users. <br>Also it's true that some aspects are a bit out of Geonode's scope (backups, ssl), but as they are common to any real life deployement, I think it's not a bad idea to integrate those into official deployement methods (we'd progressively stop seeing all those unsecured Geonode install)</div><div><br></div></div><div>Here's the main branch :<br><a href="https://github.com/olivierdalang/SPCgeonode" target="_blank">https://github.com/olivierdala<wbr>ng/SPCgeonode</a><br><br></div><div>Here's a how customized geonode project would look like (work in progress):<br><a href="https://github.com/olivierdalang/SPCgeonode/tree/example_project" target="_blank">https://github.com/olivierdala<wbr>ng/SPCgeonode/tree/example_<wbr>project</a><br></div><div><br></div><div>Here's the Rancher catalog (look for "spcgeonode"):<br><a href="https://github.com/PacificCommunity/rancher-catalogue" target="_blank">https://github.com/PacificComm<wbr>unity/rancher-catalogue</a><br><br></div><div><br></div>Let me know what you think !<br><br></div>Kind regards,<br><br></div>Olivier<br><div><div><div><div><div><br><br><br><br></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br></div>