Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

khadkakrishna/kepler-gl-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

kepler-gl-docker

Where to find the image?

This docker image is avaialble to pull in docker hub, refer here

What this image deploys?

This code deploys kepler.gl demo-app in docker container

Run the application using docker compose

  1. Update the MapboxAccessToken in .env (it is not necessary to have token to start the application).
  2. Change the KEPLER_PORT in .env if 8080 port is not available to use.
  3. Run docker compose up -d to start the application, it will pull the image and run the application on http://localhost:8080 or http://localhost:/ if port is changed.
  4. To stop and remove the container run docker compose down

Run the application using docker run

  1. Pull the image using following command
docker pull krishnakhadka/keplergl:latest
  1. Run the container
docker run --name keplergl -p 8080:8080 -d krishnakhadka/keplergl:latest
  1. Provide MapboxAccessToken in the run command (if available)
docker run --name keplergl -p 8080:8080 -e MapboxAccessToken="GeneratedMapboxAccessToken" -d krishnakhadka/keplergl:latest

Build the application from Dockerfile

Following command can be used for building the image

docker build -t krishnakhadka/keplergl https://github.com/khadkakrishna/kepler-gl-docker.git

Buildx for pushing multi-architecture images

Create a new builder

docker buildx create --name mybuilder --bootstrap --use docker buildx use mybuilder docker buildx inspect mybuilder

build the Docker Image for arm64 and amd64

docker buildx build --push --platform linux/arm64,linux/amd64 --tag krishnakhadka/keplergl:latest .

inspect the image

docker buildx imagetools inspect krishnakhadka/keplergl:latest

remove buildx builder

docker buildx rm mybuilder

About

Deploy kepler.gl in docker container

Topics

Resources

Readme

License

Apache-2.0 license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors