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
Improving the VersaTiles docker images can make them more user and developer friendly. We should include more documentation, simplify the docker file structures, and create different image variants to cover different use cases.
Suggested Improvements
Add documentation
Detailed instructions on how to set up and use the Docker images, with sample commands and configuration options.
Should be published to hub.docker.com during the release workflow
Outlined use cases for common operations such as data conversion, extraction and map data provisioning.
Set a default ENTRYPOINT or CMD in the Docker file to establish a common startup action, making the images easier to use by providing default behaviour.
Instead of maintaining three separate docker files for each variant (*-debian, *-alpine, *-scratch), consolidate them into a single docker file for multi-stage builds. Each stage (FROM ... as versatiles-debian/alpine/scratch) can then be individually targeted at build time using the --target flag.
We should release two basic VersaTiles images to support different use cases:
VersaTiles minimal:
A lightweight image containing only the VersaTiles binary, designed for data conversion, extraction or similar utility tasks.
Focuses on CLI interactions to make it as small and efficient as possible.
VersaTiles Server:
A more comprehensive image configured to serve map data over HTTPS, suitable for full-featured server environments.
Features may include
VersaTiles as a server for map data and static files.
Nginx as an outfacing reverse proxy.
Let's Encrypt for automated TLS certificate management.
Helper scripts for downloading and updating map data.
Configurable environment variables to simplify setup.
An ENTRYPOINT that performs tasks such as fetching map data, managing TLS certificates and starting the server.
The text was updated successfully, but these errors were encountered:
Summary
Improving the VersaTiles docker images can make them more user and developer friendly. We should include more documentation, simplify the docker file structures, and create different image variants to cover different use cases.
Suggested Improvements
Add documentation
Set a default
ENTRYPOINT
orCMD
in the Docker file to establish a common startup action, making the images easier to use by providing default behaviour.Instead of maintaining three separate docker files for each variant (
*-debian
,*-alpine
,*-scratch
), consolidate them into a single docker file for multi-stage builds. Each stage (FROM ... as versatiles-debian/alpine/scratch
) can then be individually targeted at build time using the--target
flag.We should release two basic VersaTiles images to support different use cases:
VersaTiles minimal:
VersaTiles Server:
ENTRYPOINT
that performs tasks such as fetching map data, managing TLS certificates and starting the server.The text was updated successfully, but these errors were encountered: