Switch local API port to 8122 and keep DB internal.
CI / test (push) Successful in 5s

Update runtime defaults, compose mappings, frontend defaults, and developer docs to use port 8122 while keeping PostGIS reachable only via the internal compose network.

Made-with: Cursor
This commit is contained in:
2026-03-01 12:12:44 +00:00
parent a2aae391ad
commit c2aa716ed8
6 changed files with 15 additions and 17 deletions
+4 -4
View File
@@ -23,8 +23,8 @@ RUN --mount=type=cache,target=/go/pkg/mod \
go build -p "$(nproc)" -trimpath -ldflags="-s -w" -o /out/api ./cmd/api
FROM base AS dev
ENV ADDR=:8080
EXPOSE 8080
ENV ADDR=:8122
EXPOSE 8122
CMD ["go", "run", "./cmd/api"]
FROM gcr.io/distroless/static-debian12:nonroot AS runtime
@@ -32,7 +32,7 @@ FROM gcr.io/distroless/static-debian12:nonroot AS runtime
WORKDIR /app
COPY --from=builder /out/api /app/api
ENV ADDR=:8080
EXPOSE 8080
ENV ADDR=:8122
EXPOSE 8122
ENTRYPOINT ["/app/api"]