mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-19 18:03:52 -07:00
Simplifying, adding initialization script to docker-compose
This commit is contained in:
parent
8518e88f25
commit
9275966c0a
8 changed files with 42 additions and 52 deletions
|
@ -1,5 +1,15 @@
|
|||
# Tile Server
|
||||
|
||||
A simple tile server using [pg_tileserv](https://github.com/CrunchyData/pg_tileserv).
|
||||
## What is it?
|
||||
|
||||
Based on pg_tileserv [docker example](https://github.com/CrunchyData/pg_tileserv/tree/master/examples/docker).
|
||||
A simple tile server using [pg_tileserv](https://github.com/CrunchyData/pg_tileserv), based on pg_tileserv [docker example](https://github.com/CrunchyData/pg_tileserv/tree/master/examples/docker).
|
||||
|
||||
## How to use it?
|
||||
|
||||
1. Edit variables in `docker-compose.yml` if necessary to customize username/pw
|
||||
2. Run `docker-compose up` to start running the server. It will likely stall in enabling extensions (TODO: figure this out))
|
||||
3. Restart the server with ctrl-c. It should load the data from the `data/` directory exactly one time.
|
||||
|
||||
## Using
|
||||
|
||||
- Point your visualization library to the following URL, and select `vector` tiles: `http://localhost:7800/public.maryland/{z}/{x}/{y}.mvt`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue