Files
pygeoapi/docker/examples/elastic
Francesco Bartoli 72b9a647ff GDAL3 support (#359)
* Bump gdal to v3

* Fix query duplicates with bbox for PG

* Add backward compatibility for axis order

* Move travis to bionic dist


Fix gdal version 3 on travis by pinning latest ubuntu unstable release


Fix ubuntugis sources on travis


Remove pinned python gdal version


Add mongodb start


Enable mongod service


Fix package name


Install mongo from official community repos


Add mongo enable and start commands

* Fix wrong axis mapping strategy


Add author

* Move base image to bullseye for docker build

* Fix remaining unchanged places for #364

* Make image size smaller

* Add docker build and cite tests


Fix python version


Move steps after docker build elsewhere


Fix uppercase characters


Fix internal port


Daemonize the run process

* Check logs and run test command from the entrypoint

* Remove the execution of mongo tests for test command

Remove the execution of mongo tests for test command

Fix failed command

* Add delay and move build to install step

Remove grep command for now


Use single quote
2020-03-03 23:03:14 +01:00
..
2020-03-03 23:03:14 +01:00

pygeoapi with ElasticSearch (ES)

These folders contain a Docker Compose configuration necessary to setup a minimal pygeoapi server that uses a local ES backend service.

This config is only for local development and testing.

ElasticSearch

  • official ElasticSearch: 5.6.8 on CentosOS 7
  • ports 9300 and 9200

ES requires the host system to have its virtual memory parameter (max_map_count) here set as follows:

sudo sysctl -w vm.max_map_count=262144

If the docker composition fails with the following error:

docker_elastic_search_1 exited with code 78

it is very likely that you forgot to setup the sysctl.

Building and Running

To build and run the Docker compose file in localhost:

sudo sysctl -w vm.max_map_count=262144
docker-compose build
docker-compose up