tile38 Docker & Self-Hosted Deployment

GitHub

Real-time Geospatial and Geofencing

9,631 stars Go Go 1 file ยท ~3,905 tokens #database#geo#geofences#geospatial#index#location#spatial
1. Pull Image (DOCKERHUB) docker pull tidwall/tile38:latest
2. Docker Run (1-Click Launch) docker run -d --name tile38 -p 9851:9851 --restart always tidwall/tile38:latest
3. Podman Run podman run -d --name tile38 -p 9851:9851 --restart always tidwall/tile38:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/tidwall/tile38:latest
5. ORAS Pull (OCI Artifact) oras pull tidwall/tile38:latest
Dockerfile
FROM alpine:3.20

ARG VERSION
ARG TARGETOS
ARG TARGETARCH

RUN apk add --no-cache ca-certificates

ADD packages/tile38-$VERSION-$TARGETOS-$TARGETARCH/tile38-server /usr/local/bin
ADD packages/tile38-$VERSION-$TARGETOS-$TARGETARCH/tile38-cli /usr/local/bin
ADD packages/tile38-$VERSION-$TARGETOS-$TARGETARCH/tile38-benchmark /usr/local/bin

RUN addgroup -S tile38 && \
    adduser -S -G tile38 tile38 && \
    mkdir /data && chown tile38:tile38 /data

VOLUME /data

EXPOSE 9851
CMD ["tile38-server", "-d", "/data"]