Pelias Docker

repository·master·Indexed 19 days ago

https://github.com/pelias/docker

A 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.

Tokens
28K
Snippets
92
Records
130
Agent score
59%

What's inside pelias-docker

  1. Use the Singapore project as a template

    master
    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.
  2. Quickstart build for Portland-metro

    master

    Use this script to set up a running Pelias stack for the portland-metro area. This is recommended for first-time users as it has lower disk and time requirements.

    Note for Mac users: Use gsed instead of sed in 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 run
  3. Run a complete Pelias build for Belgium

    master

    To 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 up
  4. Run a complete Pelias build for France

    master

    To build a complete Pelias instance for France, execute the following sequence of commands using the pelias CLI. 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 up
  5. Set up a Pelias installation for the Belgium area

    master

    This 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:

    1. Installing prerequisites.
    2. Installing the pelias command.
    3. Configuring the environment.
  6. Run a complete Pelias build for Kyrgyzstan

    master

    To 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 up
  7. Run a complete Pelias build for Brazil

    master

    To build a complete Pelias installation specifically configured for Brazil, execute the following sequence of commands using the pelias CLI. 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 pelias command, 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 run
  8. Run a complete Pelias build for the Netherlands

    master

    To 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 up
  9. Set up the Pelias Israel project

    master

    This 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:

    1. Installing prerequisites.
    2. Installing the pelias command-line tool.
    3. Configuring your environment variables.
  10. Setup the San José Metro Area Pelias project

    master

    This 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:

    1. Install all prerequisites.
    2. Install the pelias command-line tool.
    3. Configure your environment variables.
  11. Build a Pelias installation for Norway

    master

    To build a complete Pelias installation specifically configured for the Norway area, use the pelias CLI to pull images, initialize Elasticsearch, download data, prepare it, and import it into the index. This process requires a pre-configured Docker environment and the pelias command installed.

    pelias compose pull
    pelias elastic start
    pelias elastic wait
    pelias elastic create
    pelias download all
    pelias prepare all
    pelias import all
    pelias compose up
  12. Setup the South América Pelias project

    master

    Before running the South América project, you must have a functional Docker environment configured according to the core Pelias Docker instructions. This includes:

    1. Installing all necessary prerequisites.
    2. Installing the pelias command-line tool.
    3. Configuring your environment variables.

    Ensure your Docker environment is fully operational before proceeding to the build steps.