Separate dashboard port, first-run password setup and default trusted proxies
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a34ff96490
commit
c22d452720
25 files changed
+654
-109
No files matched your search
@@ -111,15 +111,15 @@ jobs:
|
||||
docker compose -f deploy/unraid/compose.yaml up -d --wait --remove-orphans
|
||||
|
||||
# /health answers 200 only when the app runs AND reads its database. It is
|
||||
# checked from inside proxynet, the same way NPM reaches the app. The probe
|
||||
# comes from a private address, so /health is exempt from the trap even
|
||||
# though the Host header (flypaper) is unknown. A failure marks the run red;
|
||||
# the rollback stays a deliberate step.
|
||||
# checked from inside proxynet on both ports: 8080 is the trap, reached the
|
||||
# same way NPM reaches it (the probe comes from a private address, so /health
|
||||
# is exempt from the trap), 8081 is the dashboard. A failure marks the run
|
||||
# red; the rollback stays a deliberate step.
|
||||
- name: Health gate
|
||||
run: |
|
||||
for attempt in $(seq 1 30); do
|
||||
if docker run --rm --network proxynet busybox:1.37 \
|
||||
wget -qO- http://flypaper:8080/health; then
|
||||
if docker run --rm --network proxynet busybox:1.37 sh -c \
|
||||
'wget -qO- http://flypaper:8080/health && wget -qO- http://flypaper:8081/health'; then
|
||||
exit 0
|
||||
fi
|
||||
sleep 2
|
||||
|
||||
Reference in new issue
Block a user