Pelias Docker
repository·master·Indexed 19 days ago
https://github.com/pelias/dockerA framework for downloading, preparing, and building the Pelias Geocoder using Docker and Docker Compose. It enables the deployment of a modular, open-source search engine for places worldwide and includes pre-configured installations for various regions, including Australia, Austria, Belgium, Brazil, Norway, France, Germany, Israel, Italy, and Jamaica.
What's inside pelias-docker
- The Singapore project is a pre-configured Pelias installation designed to download, prepare, and build a complete dataset for Singapore. It serves as a reference implementation. Developers can use these files as a starting point for their own custom projects by copying and pasting the configuration files into a new project directory.
Quickstart build for Portland-metro
masterUse this script to set up a running Pelias stack for the
portland-metroarea. This is recommended for first-time users as it has lower disk and time requirements.Note for Mac users: Use
gsedinstead ofsedin the script if available.#!/bin/bash set -x # change directory to the where you would like to install Pelias # cd /path/to/install # clone this repository git clone https://github.com/pelias/docker.git && cd docker # install pelias script sudo ln -s "$(pwd)/pelias" /usr/local/bin/pelias # cd into the project directory cd projects/portland-metro # create a directory to store Pelias data files mkdir ./data sed -i '/DATA_DIR/d' .env echo 'DATA_DIR=./data' >> .env # run build pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose up # optionally run tests after waiting for containers to fully boot sleep 10 pelias test runRun a complete Pelias build for Belgium
masterTo build a complete Pelias instance for Belgium from scratch, execute the following sequence of commands. This process pulls the necessary images, initializes Elasticsearch, downloads the data, prepares it, imports it, and finally starts the services.
pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose upRun a complete Pelias build for France
masterTo build a complete Pelias instance for France, execute the following sequence of commands using the
peliasCLI. This process pulls images, starts Elasticsearch, creates the index, downloads the France datasets, prepares them, imports them, and finally starts the Pelias services.pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose upSet up a Pelias installation for the Belgium area
masterThis project provides a pre-configured Pelias installation specifically for the Belgium area. Before running the build, you must ensure your Docker environment is correctly installed and configured according to the main pelias/docker repository instructions.
Required steps include:
- Installing prerequisites.
- Installing the
peliascommand. - Configuring the environment.
Run a complete Pelias build for Kyrgyzstan
masterTo build the Kyrgyzstan Pelias instance from scratch, execute the following sequence of commands. This process pulls images, initializes Elasticsearch, downloads the necessary data, prepares it, imports it, and finally starts the services.
pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose upRun a complete Pelias build for Brazil
masterTo build a complete Pelias installation specifically configured for Brazil, execute the following sequence of commands using the
peliasCLI. This process pulls the necessary images, starts and initializes Elasticsearch, downloads the Brazil datasets, prepares them, imports them into the index, and finally starts the full stack.Note: Ensure you have completed the general Pelias Docker setup (prerequisites, installing the
peliascommand, and configuring the environment) before running these commands.pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose up pelias test runRun a complete Pelias build for the Netherlands
masterTo build a complete Pelias installation for the Netherlands area, execute the following sequence of commands. This process pulls the necessary images, initializes Elasticsearch, downloads the data, prepares it, imports it into the index, and finally starts the services.
pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose upSet up the Pelias Israel project
masterThis project provides a pre-configured Pelias installation specifically for the Israel area. Before running the build, you must ensure your Docker environment is correctly set up according to the main Pelias Docker repository requirements.
Required steps include:
- Installing prerequisites.
- Installing the
peliascommand-line tool. - Configuring your environment variables.
Setup the San José Metro Area Pelias project
masterThis project provides a pre-configured Pelias installation specifically for the San José, California metro area.
Before running this project, you must have a functional Docker environment configured according to the main pelias/docker repository. Specifically, you must:
- Install all prerequisites.
- Install the
peliascommand-line tool. - Configure your environment variables.
Build a Pelias installation for Norway
masterTo build a complete Pelias installation specifically configured for the Norway area, use the
peliasCLI to pull images, initialize Elasticsearch, download data, prepare it, and import it into the index. This process requires a pre-configured Docker environment and thepeliascommand installed.pelias compose pull pelias elastic start pelias elastic wait pelias elastic create pelias download all pelias prepare all pelias import all pelias compose upSetup the South América Pelias project
masterBefore running the South América project, you must have a functional Docker environment configured according to the core Pelias Docker instructions. This includes:
- Installing all necessary prerequisites.
- Installing the
peliascommand-line tool. - Configuring your environment variables.
Ensure your Docker environment is fully operational before proceeding to the build steps.