Closed tomalrussell closed 4 months ago
The only difference between dev and prod vector tileserver Dockerfiles is the command run, which can be configured in docker-compose:
$ diff containers/vector/Dockerfile-* < CMD ["tileserver-gl-light", "-c", "config.json", "-p", "8080", "--verbose", "-u", "https://localhost/vector"] --- > CMD ["tileserver-gl-light", "-c", "config.json", "-p", "8080", "--verbose", "-u", "https://global.infrastructureresilience.org/vector"]
Can we run the maptiler/tileserver-gl directly, with mounted volumes for data, fonts and config.json, and the command specified in docker-compose? If so, we could drop our vector-tileserver layer and depend on it directly.
maptiler/tileserver-gl
data
fonts
config.json
The only difference between dev and prod vector tileserver Dockerfiles is the command run, which can be configured in docker-compose:
Can we run the
maptiler/tileserver-gl
directly, with mounted volumes fordata
,fonts
andconfig.json
, and the command specified in docker-compose? If so, we could drop our vector-tileserver layer and depend on it directly.