···11# Run this dockerfile from the top level of the indigo git repository like:
22#
33-# podman build -f ./cmd/domesday/Dockerfile -t domesday .
33+# podman build -f ./cmd/bluepages/Dockerfile -t bluepages .
4455### Compile stage
66FROM golang:1.23-alpine3.20 AS build-env
···1212# timezone data for alpine builds
1313ENV GOEXPERIMENT=loopvar
1414RUN GIT_VERSION=$(git describe --tags --long --always) && \
1515- go build -tags timetzdata -o /domesday ./cmd/domesday
1515+ go build -tags timetzdata -o /bluepages ./cmd/bluepages
16161717### Run stage
1818FROM alpine:3.20
···2121ENTRYPOINT ["dumb-init", "--"]
22222323WORKDIR /
2424-RUN mkdir -p data/domesday
2525-COPY --from=build-env /domesday /
2424+RUN mkdir -p data/bluepages
2525+COPY --from=build-env /bluepages /
26262727# small things to make golang binaries work well under alpine
2828ENV GODEBUG=netdns=go
···30303131EXPOSE 2210
32323333-CMD ["/domesday", "run"]
3333+CMD ["/bluepages", "run"]
34343535LABEL org.opencontainers.image.source=https://github.com/bluesky-social/indigo
3636-LABEL org.opencontainers.image.description="atproto identity directory (domesday)"
3636+LABEL org.opencontainers.image.description="atproto identity directory (bluepages)"
3737LABEL org.opencontainers.image.licenses=MIT
+1-3
cmd/domesday/README.md
cmd/bluepages/README.md
···1122-domesday: an atproto identity directory
22+bluepages: an atproto identity directory
33========================================
4455This is a simple API server which caches atproto handle and DID resolution responses. It is useful when you have a bunch of services that do identity resolution, and you don't want duplicated caches.
66-77-The name is a reference to the [Domesday Book](https://en.wikipedia.org/wiki/Domesday_Book), an early manuscript recoding a English census in 1086. It is a big fancy book with a lot of names in it.
8697Available commands, flags, and config are documented in the usage (`--help`).
108