- added Building docker image document in README_light.md

- change URL schema from http to https
This commit is contained in:
Taro Matsuzawa 2020-02-18 08:03:52 +09:00
parent 3a94a8f9d2
commit 0e85e0058f
2 changed files with 22 additions and 4 deletions

View file

@ -33,7 +33,7 @@ Alternatively, you can use the `tileserver-gl-light` package instead, which is p
## Using Docker
An alternative to npm to start the packed software easier is to install [Docker](http://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command:
An alternative to npm to start the packed software easier is to install [Docker](https://www.docker.com/) on your computer and then run in the directory with the downloaded MBTiles the command:
```bash
docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl
@ -45,4 +45,4 @@ On laptop you can use [Docker Kitematic](https://kitematic.com/) and search "til
## Documentation
You can read full documentation of this project at http://tileserver.readthedocs.io/.
You can read full documentation of this project at https://tileserver.readthedocs.io/.

View file

@ -11,7 +11,25 @@ Then you can simply run `tileserver-gl-light zurich_switzerland.mbtiles` to star
See also `tileserver-gl` which contains server side rendering.
Prepared vector tiles can be downloaded from [OpenMapTiles](https://openmaptiles.org/downloads/).
Prepared vector tiles can be downloaded from [OpenMapTiles.com](https://openmaptiles.com/downloads/planet/).
## Building docker image
You can build TileServer GL light image from source.
```
git clone https://github.com/maptiler/tileserver-gl.git
cd tileserver-gl
node publish.js --no-publish
cd light
docker build -t tileserver-gl-light .
```
[Download from OpenMapTiles.com](https://openmaptiles.com/downloads/planet/) or [create](https://github.com/openmaptiles/openmaptiles) your vector tile, and run following in directory contains your *.mbtiles.
```
docker run --rm -it -v $(pwd):/data -p 8000:80 tileserver-gl-light
```
## Documentation
You can read full documentation of this project at http://tileserver.readthedocs.io/.
You can read full documentation of this project at https://tileserver.readthedocs.io/.