How can use my own styles in klokantech/openmaptiles-server docker container?

2017-11-21 14:09:57

If I use klokantech/openmaptiles-server docker-container it work well. I can download style and change it like in Upload Style to Mapbox Studio described.

But how can I use the new style.json in my klokantech/openmaptiles-server container? In docker cmd-line is the -v $(pwd):/data argument for an external data directory. There no hint in klokantech/openmaptiles-server documentation of how using "data".

docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/openmaptiles-server

call wizzard http://localhost:8080

choose "Advanced options" on the "Styles" page

upload your style

  • docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/openmaptiles-server

    call wizzard http://localhost:8080

    choose "Advanced options" on the "Styles" page

    upload your style

    2017-11-21 15:14:42