You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vector tile server for the data-fair stack. Wraps [tileserver-gl-light](https://github.com/maptiler/tileserver-gl) and pulls tilesets and styles from a [data-fair/registry](https://github.com/data-fair/registry) instance at boot.
4
+
5
+
## Configuration
6
+
7
+
| Variable | Required | Default | Description |
8
+
|----------|----------|---------|-------------|
9
+
|`REGISTRY_URL`| yes || Base URL of the data-fair registry |
10
+
|`REGISTRY_SECRET`| yes || Secret key for registry authentication |
11
+
|`DATA_DIR`| no |`/data`| Root directory for cache and config |
12
+
|`FONTS_DIR`| no |`/app/fonts`| Directory containing font files |
13
+
|`PORT`| no |`8080`| HTTP server port |
14
+
|`LOG_LEVEL`| no |`info`| One of `trace`, `debug`, `info`, `warn`, `error`|
15
+
|`OBSERVER_ACTIVE`| no |`true`| Enable Prometheus metrics |
16
+
|`OBSERVER_PORT`| no |`9090`| Prometheus metrics port |
17
+
|`TILESET_INCLUDE`| no || Comma-separated list of tileset IDs to include (if set, all others are excluded) |
18
+
|`TILESET_EXCLUDE`| no || Comma-separated list of tileset IDs to exclude |
19
+
|`TILESET_ALIASES`| no || Comma-separated `source:key` pairs to remap tileset serving keys |
20
+
|`STYLE_INCLUDE`| no || Comma-separated list of style IDs to include (if set, all others are excluded) |
21
+
|`STYLE_EXCLUDE`| no || Comma-separated list of style IDs to exclude |
22
+
|`STYLE_ALIASES`| no || Comma-separated `source:key` pairs to remap style serving names |
23
+
24
+
### Filtering and aliasing
25
+
26
+
**Include/Exclude** control which artefacts are downloaded from the registry. If `*_INCLUDE` is set, only listed IDs are kept. `*_EXCLUDE` removes listed IDs. When both are set, include is applied first, then exclude.
27
+
28
+
**Aliases** remap the serving key of an artefact without changing the downloaded file. The format is `source:key` where `source` is the artefact ID in the registry and `key` is the desired serving key.
29
+
30
+
Example: serve `france.mbtiles` under the `world` key instead of downloading `world.mbtiles`:
31
+
32
+
```bash
33
+
TILESET_EXCLUDE=world
34
+
TILESET_ALIASES=france:world
35
+
```
36
+
37
+
Example: use a timestamped tileset as a generic data layer:
0 commit comments