Runs latest GitHub master branch of pygeoapi using
Docker Image from DockerHub.
volume-mounted with a local config file plus data and a (process) cleanup cronfile.
The file env.sh is sourced in start/stop scripts to populate deploy-host-dependent vars.
There is also a stable version that runs the latest pygeoapi version also from DockerHub.
To clean up resources (files) within the Docker container created via Processes, a local cronjob is run (production server only).
- cron job cronjob - logs to
~/process_cleanup.log
Via the Updater service this service gets redeployed when a new image is available on Dockerhub.
For example if the Dockerfile here, or the config has changed:
- make changes as normal via GitHub
- login to the demo server using the
adminuser
cd git
git pull # or ./refresh-git.sh if pull somehow fails
cd services/pygeoapi_master
./stop.sh && /start.sh
# view new container logs
docker logs --follow pygeoapi_master