Compare commits
1 Commits
upgrade-0.
...
fdbd1e2fee
| Author | SHA1 | Date | |
|---|---|---|---|
| fdbd1e2fee |
@ -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
|
||||
}
|
||||
|
||||
2
abra.sh
2
abra.sh
@ -1,2 +1,2 @@
|
||||
export ENTRYPOINT_VERSION=v2
|
||||
export ENTRYPOINT_VERSION=v1
|
||||
export CADDYFILE_VERSION=v1
|
||||
|
||||
13
compose.yml
13
compose.yml
@ -3,9 +3,16 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: ghcr.io/bluesky-social/pds:0.4.5009
|
||||
image: ghcr.io/bluesky-social/pds:0.4.219
|
||||
networks:
|
||||
- internal
|
||||
# Unique alias so the caddy sidecar resolves THIS stack's PDS, not a foreign service. On a
|
||||
# shared host the default service name `app` is aliased by every co-located stack on the
|
||||
# `proxy` overlay; caddy (attached to both `proxy` and `internal`) otherwise resolves bare
|
||||
# `app` to another stack's endpoint, so its on-demand-TLS `ask` to the PDS is refused and the
|
||||
# cert is never issued (HTTPS dead). `pds` exists only on `internal`, so it resolves correctly.
|
||||
internal:
|
||||
aliases:
|
||||
- pds
|
||||
environment:
|
||||
- PDS_HOSTNAME=${DOMAIN}
|
||||
- PDS_DATA_DIRECTORY=/pds
|
||||
@ -36,7 +43,7 @@ services:
|
||||
max_attempts: 5
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.3.1+v0.4.5009"
|
||||
- "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"]
|
||||
|
||||
@ -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_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=$(cat /run/secrets/pds_plc_rotation_key)
|
||||
|
||||
exec node --enable-source-maps index.ts
|
||||
exec node --enable-source-maps index.js
|
||||
|
||||
Reference in New Issue
Block a user