Bump ghcr.io/bluesky-social/pds 0.4.219 -> 0.4.5001 (atproto/pds 0.2.19 -> 0.5.1). Upstream renamed the service entrypoint from index.js to index.ts (ESM, type: module, Node base image 20 -> 24), so update entrypoint.sh.tmpl to exec index.ts and bump ENTRYPOINT_VERSION v1 -> v2 so the new swarm config is applied.
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
export ENTRYPOINT_VERSION=v1
|
export ENTRYPOINT_VERSION=v2
|
||||||
export CADDYFILE_VERSION=v1
|
export CADDYFILE_VERSION=v1
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/bluesky-social/pds:0.4.219
|
image: ghcr.io/bluesky-social/pds:0.4.5001
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
environment:
|
environment:
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
max_attempts: 5
|
max_attempts: 5
|
||||||
labels:
|
labels:
|
||||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=0.3.0+v0.4.219"
|
- "coop-cloud.${STACK_NAME}.version=0.3.1+v0.4.5001"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/xrpc/_health"]
|
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/xrpc/_health"]
|
||||||
|
|||||||
+1
-1
@@ -5,4 +5,4 @@ export PDS_JWT_SECRET=$(cat /run/secrets/pds_jwt_secret)
|
|||||||
export PDS_ADMIN_PASSWORD=$(cat /run/secrets/pds_admin_password)
|
export PDS_ADMIN_PASSWORD=$(cat /run/secrets/pds_admin_password)
|
||||||
export PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=$(cat /run/secrets/pds_plc_rotation_key)
|
export PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=$(cat /run/secrets/pds_plc_rotation_key)
|
||||||
|
|
||||||
exec node --enable-source-maps index.js
|
exec node --enable-source-maps index.ts
|
||||||
|
|||||||
Reference in New Issue
Block a user