fix: route PDS Caddy to its own Swarm service
cc-ci/testme cc-ci: success

This commit is contained in:
notplants
2026-11-02 18:30:15 +00:00
parent e23c2951c1
commit 70bbc62092
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
on_demand_tls { on_demand_tls {
ask http://app:3000/tls-check ask http://{$APP_HOST}:3000/tls-check
} }
} }
@@ -8,5 +8,5 @@
tls { tls {
on_demand on_demand
} }
reverse_proxy app:3000 reverse_proxy {$APP_HOST}:3000
} }
+1 -1
View File
@@ -1,2 +1,2 @@
export ENTRYPOINT_VERSION=v2 export ENTRYPOINT_VERSION=v2
export CADDYFILE_VERSION=v1 export CADDYFILE_VERSION=v2
+2 -1
View File
@@ -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.4.0+0.4.5027" - "coop-cloud.${STACK_NAME}.version=0.4.1+0.4.5027"
- "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"]
@@ -52,6 +52,7 @@ services:
- internal - internal
environment: environment:
- DOMAIN=${DOMAIN} - DOMAIN=${DOMAIN}
- APP_HOST=${STACK_NAME}_app
configs: configs:
- source: caddyfile - source: caddyfile
target: /etc/caddy/Caddyfile target: /etc/caddy/Caddyfile