[GeoNode-devel] Docker for development

Jeffrey Johnson ortelius at gmail.com
Tue Sep 6 09:45:50 PDT 2016


Merged. Im going to do some more testing this week.

I'd like some guidance on the best way to setup a downstream project
using these docker configs. I setup my 'eventkit' project last week
with a little help from Ariel.
https://github.com/terranodo/eventkit/tree/docker ... Note the dual
database setup (which should be using a volume.

Perhaps we should schedule a time to chat about these things in gitter?

On Mon, Sep 5, 2016 at 1:16 AM, Francesco Bartoli <xbartolone at gmail.com> wrote:
> Hi team,
>
> I would like to share latest work on docker:
>
> - with this PR https://github.com/GeoNode/docker-geoserver/pull/5 we are now
> able to automatically set the baseUrl in the configuration (config.xml) from
> the geonodeAuthProvider of GeoServer. This means if you are in a docker
> shell you should have automatically an environment variable DOCKER_HOST with
> a value like this “tcp://192.168.99.100:2376” where the ip address is
> normally the same of the output from “docker-machine ip”. The baseUrl will
> be configured with a value like this “http://192.168.99.100:80/“ that is the
> url you are going to open up in the browser for accessing geonode so you
> should be able then to being automatically logged in geoserver too.
> - this commit
> https://github.com/GeoNode/geonode/commit/6b24bf9f46bb3cd46696a36e13d4f46faa35fe16
> brings the required variable in the compose of geonode
> - after running “make up” and “make sync” we should be in the same situation
> of what paver was doing for development till now
>
> The next improvement I’d like to have would be to giving the priority to two
> new variables NGINX_HOST and NGINX_PORT for the baseUrl from the nginx
> service in the docker-compose file. I’m happy if somebody can merge the PR
> and provide any feedback/thought about this.
>
> Thanks,
> Francesco
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>


More information about the geonode-devel mailing list