<div dir="ltr">Hi,<div><br></div><div>I've installed Geonode Core on a Ubuntu server using Docker by following this instructions: <a href="https://docs.geonode.org/en/master/install/core/index.html#docker">https://docs.geonode.org/en/master/install/core/index.html#docker</a> </div><div><br></div><div>Right now, as default, the PostGIS database is running on localhost, but I would like to access the layers on Geoserver through QGIS on my Desktop and edit layers from there and push it back to Geoserver using my domain or the local IP as the Database Host.</div><div><br></div><div>Si my question is if there is a way to define a environmental variable, like DATABASE_HOST, on the docker composer file to override the localhost, and where does that variable should be, over the django container variables or over the db container.</div><div><br></div><div>This is how my docker file is configure right now:</div><div><br></div><div>version: '2.2'<br>services:<br><br> django:<br> build: .<br> # Loading the app is defined here to allow for<br> # autoreload on changes it is mounted on top of the<br> # old copy that docker added when creating the image<br> volumes:<br> - '.:/usr/src/app'<br> environment:<br> - DEBUG=False<br> - GEONODE_LB_HOST_IP=<mydomain><br> - GEONODE_LB_PORT=443<br> - SITENAME = 'Geoportal OUOT'<br> - SITEURL=https://<mydomain>/<br> - ALLOWED_HOSTS=['<mydomain>', ]<br> - GEOSERVER_PUBLIC_LOCATION=https://
<mydomain>
/geoserver/<br> - GEOSERVER_WEB_UI_LOCATION=https://
<mydomain>
/geoserver/<br><br> geoserver:<br> environment:<br> - GEONODE_LB_HOST_IP=
<mydomain>
<br> - GEONODE_LB_PORT=443<br clear="all"><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>José </div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>José David Cáceres<div>Ingeniero Ambiental</div><div>Máster en Tecnologías de la Información Geográfica<br><div>e-mail: <a href="mailto:jose.atyus@gmail.com" target="_blank">jose.atyus@gmail.com</a></div></div></div></div></div><br></div><br><div id="mt-signature">
<table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
<tbody><tr>
<td>
<a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="" style="text-decoration:none">
<img src="https://s3.amazonaws.com/mailtrack-signature/sender_notified.gif" alt="Mailtrack" class="" width="32" height="32">
</a>
</td>
<td>
<span style="color:#777">Remitente notificado con</span> <br>
<a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="mt-install" style="color:#4374f7">Mailtrack</a>
<span style="color:transparent;font-size:0">11/05/20 13:48:46</span>
</td>
<td>
</td>
</tr>
</tbody></table>
</div><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/158124624059d5df0ae7432276d04d6f9040a3f6.png?u=16998"></div>