Skip to content

Latest commit

 

History

History

pygeoapi_master

pygeoapi demo service - master

Runs latest GitHub master branch of pygeoapi using Docker Image from DockerHub. with a local config file.

A local Docker Image is built named geopython/pygeoapi_master:latest that mainly copies in the demo config.

This was needed (i.s.o. Volume mapping) to have micro-dockerhub-hook restart the service (as the webhook is done within a Docker container and Volume mapping within a Volume map does not work).

This service is restarted pulling the latest pygeoapi Docker Image whenever a new Image is built (via DockerHub autobuild on the pygeoapi GitHub master commit or explicitly).

There is also a stable version that runs the latest pygeoapi version also from DockerHub.

Build-deploy manually

For example if the Dockerfile here, or the config has changed:

  • make changes as normal via GitHub
  • login to the demo server using the admin user
cd git
git pull  # or ./refresh-git.sh if pull somehow fails
cd services/pygeoapi_master
./build.sh && ./stop.sh && /start.sh
# view new container logs
docker logs --follow pygeoapi_master