...
Code Block |
---|
|
LIPI_API_KEY=<lipi-api-key>
# Where DNA Spaces is the position provider, the following should be left as is
POSITION_PROVIDER_USERNAME=<username-here>
POSITION_PROVIDER_PASSWORD=<password-here> |
Then use Use the environment variable file to start the lipi
For production: Start the service in the background, by adding the --detach
option:
Code Block |
---|
|
sudo docker run --detach --rm --name lipi \
--env-file=lipi-docker-env-file \
-p 443:8080 \
gcr.io/mazemap-public-docker/lipi:latest |
To start the service in the background, add the Special case: For debugging/testing: you can run without the --detach option :to remain inside the docker context and see what is going in after starting it.
Code Block |
---|
|
sudo docker run --detach --rm --name lipi \
--env-file=lipi-docker-env-file \
-p 443:8080 \
gcr.io/mazemap-public-docker/lipi:latest |
...