Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How to start lipi server

MazeMap provides lipi in a docker container that you can download and start. Follow the instructions below to get it working

Environment variables

  • LIPI_API_KEY - Api key from lipi config in Map Editor

  • POSITION_PROVIDER_USERNAME - Username of the position provider (CMX, Aruba ALE...)

  • POSITION_PROVIDER_PASSWORD - Password of the position provider (CMX, Aruba ALE...)

  • POSITION_PROVIDER_HTTP_SCHEME - The http protocol of the position provider (CMX, Aruba ALE...)

Required variables

LIPI_API_KEY
POSITION_PROVIDER_USERNAME
POSITION_PROVIDER_PASSWORD

Optional variables and defaults

POSITION_PROVIDER_HTTP_SCHEME='https'

Running LIPI

1 . Download the lipi

2 . Load the image

VERSION=<the-tar-version>
docker load  --input lipi_server_$VERSION.tar

3 . Start Server

VERSION=<the-tar-version>
LIPI_API_KEY=<lipi-api-key>
docker run  -e LIPI_API_KEY=$LIPI_API_KEY  \
    -e POSITION_PROVIDER_USERNAME=user \
    -e POSITION_PROVIDER_PASSWORD=pass \
    -p 4431:443 \
    --name lipi-server \
    lipi-server:$VERSION

4 . Start Server with a local config.json file

VERSION=<the-tar-version>
LIPI_API_KEY=<lipi-api-key>
docker run  -e LIPI_API_KEY=$LIPI_API_KEY  \
    -e POSITION_PROVIDER_USERNAME=<put-username-here> \
    -e POSITION_PROVIDER_PASSWORD=<put-password-here> \
    -p 443:443 \
    -v <your-config-path>:/srv/config.json \
    --name lipi-server \
    lipi-server:$VERSION

  • No labels