3 Commits

Author SHA1 Message Date
11e41b0592 fix(routing): rename main service app->pds so caddy resolves THIS stack on shared proxy
The caddy sidecar uses on-demand TLS and asks http://app:3000/tls-check before issuing a cert. On a
multi-tenant host every co-located stack aliases its main service 'app' on the shared 'proxy' overlay;
caddy (on proxy+internal) resolves bare 'app' to a FOREIGN stack's endpoint, the tls-check is refused,
no cert is issued, and HTTPS is dead (xrpc/_health=000). Renaming the service to 'pds' gives a unique
swarm DNS name that only this stack publishes, so caddy's reverse_proxy/on_demand_tls always resolve
this PDS. (A network alias would be cleaner but abra drops compose network aliases on deploy; the
service name is always applied.)

cc @trav @notplants
2026-06-18 01:59:17 +00:00
bc665d5fb0 Merge pull request 'chore: upgrade to 0.3.0+v0.4.219' (#3) from upgrade-0.3.0+v0.4.219 into main
Reviewed-on: https://git.coopcloud.tech/coop-cloud/bluesky-pds/pulls/3
2026-06-15 18:54:53 +00:00
f7b6c8dfb8 chore: upgrade to 0.3.0+v0.4.219
All checks were successful
cc-ci/testme cc-ci: success
Pin an exact released image tag. The previous pin :0.4 is a moving tag
that upstream now republishes with main-branch builds (currently
@atproto/pds 0.5.1 on Node 24, where the service entrypoint moved from
/app/index.js to /app/index.ts), so the recipe's entrypoint.sh
(exec node --enable-source-maps index.js) crash-loops MODULE_NOT_FOUND.
ghcr.io/bluesky-social/pds:0.4.219 is the newest released exact tag and
keeps the layout this recipe's entrypoint expects (Node 20.20,
/app/index.js, dumb-init).
2026-06-11 11:37:47 +00:00
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
on_demand_tls {
ask http://app:3000/tls-check
ask http://pds:3000/tls-check
}
}
@ -8,5 +8,5 @@
tls {
on_demand
}
reverse_proxy app:3000
reverse_proxy pds:3000
}

View File

@ -2,8 +2,8 @@
version: "3.8"
services:
app:
image: ghcr.io/bluesky-social/pds:0.4
pds:
image: ghcr.io/bluesky-social/pds:0.4.219
networks:
- internal
environment:
@ -36,7 +36,7 @@ services:
max_attempts: 5
labels:
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "coop-cloud.${STACK_NAME}.version=0.2.0+v0.4"
- "coop-cloud.${STACK_NAME}.version=0.3.0+v0.4.219"
- "backupbot.backup=true"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/xrpc/_health"]