6 Commits

Author SHA1 Message Date
4987ba91c7 fix: caddy resolves own app via ${STACK_NAME}_app on shared proxy net
The caddy on-demand-TLS ask + reverse_proxy used bare host "app", which on the
shared external proxy net collides with every other stack aliasing its main
service "app" (docker DNS returns a foreign endpoint -> cert ask refused -> 000
on warm-canonical promote). Use the fully-qualified swarm service name
${STACK_NAME}_app (caddy {$APP_HOST} env) so caddy resolves THIS stack only.
Established coop-cloud pattern (cf. matrix-synapse, mailu, mumble). Bump
CADDYFILE_VERSION v1->v2.
2026-06-18 05:41:29 +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
b2d86efba3 Update README.md 2026-02-23 13:41:18 +00:00
6f2d724770 Update README.md 2026-02-23 13:34:59 +00:00
4b67c42e76 fix invite in readme 2026-02-22 14:19:16 -05:00
e0ea4188d4 Merge pull request '0.2.0+v0.4' (#1) from 0.2.0+v0.4 into main
Reviewed-on: https://git.coopcloud.tech/coop-cloud/bluesky-pds/pulls/1
2026-02-22 18:12:58 +00:00
4 changed files with 10 additions and 7 deletions

View File

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

View File

@ -15,6 +15,8 @@
## Quickstart
0. setup a server with [abra](https://git.coopcloud.tech/toolshed/abra) and deploy [coop-cloud/traefik](https://git.coopcloud.tech/coop-cloud/traefik)
1. `abra app new bluesky-pds` (do **not** use `--secrets` yet, see below)
2. Generate secrets:
@ -61,7 +63,7 @@ Create an invite code:
```bash
abra app run YOURAPPDOMAIN app -- \
goat pds admin account create-invite \
goat pds admin create-invites \
--admin-password YOUR_ADMIN_PASSWORD
```
@ -143,7 +145,7 @@ entirely via deploy labels on the Caddy service in this recipe's `compose.yml`.
A [Bluesky PDS](https://github.com/bluesky-social/pds) (Personal Data Server)
is a self-hosted server for ATProto. This is a co-op cloud recipe for a PDS
as implemented by bluesky, although other pds implementations exist such as [rsky-pds](https://github.com/blacksky-algorithms/rsky/tree/main/rsky-pds).
as implemented by bluesky, although other pds implementations exist such as [cocoon](https://tangled.org/hailey.at/cocoon), [tranquil-pds](https://tangled.org/tranquil.farm/tranquil-pds), [pegasus](https://tangled.org/futur.blue/pegasus) and [rsky-pds](https://github.com/blacksky-algorithms/rsky/tree/main/rsky-pds).
# ❃

View File

@ -1,2 +1,2 @@
export ENTRYPOINT_VERSION=v1
export CADDYFILE_VERSION=v1
export CADDYFILE_VERSION=v2

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: ghcr.io/bluesky-social/pds:0.4
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"]
@ -52,6 +52,7 @@ services:
- internal
environment:
- DOMAIN=${DOMAIN}
- APP_HOST=${STACK_NAME}_app
configs:
- source: caddyfile
target: /etc/caddy/Caddyfile