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 workingLipi is now available via docker. if you already have docker installed, you could run LIPI with only a few commands. To install docker on various platforms see https://docs.docker.com/get-docker/
Environment variables
LIPI_API_KEY - Api key from lipi config in Map Editor
POSITIONLIPI_PROVIDERHTTP_USERNAME - Username of the position provider (CMX, Aruba ALE...SCHEME - The http protocol LIPI will run with (
http
orhttps
)POSITION_PROVIDER_PASSWORD USERNAME - Password Username of the position provider (CMX, Aruba ALE...)
POSITION_PROVIDER_HTTP_SCHEME - The http protocol PASSWORD - Password of the position provider (CMX, Aruba ALE...)
Required
...
LIPI_API_KEY
POSITION_PROVIDER_USERNAME
POSITION_PROVIDER_PASSWORD
Optional
...
and defaults
...
LIPI_
...
HTTP_SCHEME='https'
Possible Values:
http
,https
Running LIPI
1 . Download the lipi
...
Download from https://www.jottacloud.com/s/113fa527a64ca7b4c2fb5f22ba0f217b8b5 .
...
Take note of the version of the tar file.
...
LIPI Image Version
The current stable LIPI version is4.1.0_0
...
Start Server
Code Block | ||
---|---|---|
| ||
VERSION=<the-tar-version>
docker load --input lipi_server_$VERSION.tar |
3 . Start Server
Code Block | ||
---|---|---|
| ||
VERSION=<the-tar-version>LIPI_IMAGE_VERSION=4.1.0_0 LIPI_API_KEY=<lipi-api-key> docker rm -f lipi-server docker run -e LIPI_API_KEY=$LIPI_API_KEY \ -e POSITION_PROVIDER_USERNAME=user \ -e POSITION_PROVIDER_PASSWORD=pass \ -p 4431443:443 \ --name lipi-server \ gcr.io/mazemap-public-docker/lipi-server:$VERSION |
...
$LIPI_IMAGE_VERSION |
3 . Start Server with a local config.json
file
Code Block | ||
---|---|---|
| ||
VERSION=<the-tar-version>LIPI_IMAGE_VERSION=4.1.0_0 LIPI_API_KEY=<lipi-api-key> docker rm -f lipi-server docker run -e LIPI_API_KEY=$LIPI_API_KEY \ -e POSITION_PROVIDER_USERNAME=<put-username-here>user \ -e POSITION_PROVIDER_PASSWORD=<put-password-here>pass \ -p 443:443 \ -v <your-config-path>:/srv/config.json \ --name lipi-server \ gcr.io/mazemap-public-docker/lipi-server:$VERSION$LIPI_IMAGE_VERSION |