icipe-official / vectoratlas-software-code

MIT License
1 stars 4 forks source link

Add a tile server to the system #53

Closed ray-millward-tessella closed 2 years ago

ray-millward-tessella commented 2 years ago

We need to add a tile server using tileserver-gl to the system to serve maps and model output layers. The details are in the tile server investigation #7 . The main dockerfile needs to be updated to run the tile server as well as the development dockerfile.

Part of the complexity will be around the fact that Rancher Desktop doesn't mount files correctly when used with docker-compose https://github.com/rancher-sandbox/rancher-desktop/issues/2461 so we may have to run the base map building script as part of the dockerfile or assume it has been run externally so we can copy the mbtiles files into the image.

Acceptance criteria:

colin-turner-cg commented 2 years ago

All acceptance criteria met: A tileserver can be started with docker compose up, it has been found that Rancher Desktop can mount files.