Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdbd1e2fee |
+9
-2
@@ -2,10 +2,17 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pds:
|
app:
|
||||||
image: ghcr.io/bluesky-social/pds:0.4.219
|
image: ghcr.io/bluesky-social/pds:0.4.219
|
||||||
networks:
|
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:
|
environment:
|
||||||
- PDS_HOSTNAME=${DOMAIN}
|
- PDS_HOSTNAME=${DOMAIN}
|
||||||
- PDS_DATA_DIRECTORY=/pds
|
- PDS_DATA_DIRECTORY=/pds
|
||||||
|
|||||||
Reference in New Issue
Block a user