From c62ceb72c87fe00c80173d4dc99d3af70fe054da Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 14:45:11 +0000 Subject: [PATCH] deploy: p0dcasters Redis on 127.0.0.1:6394 (6393 was taken) family-ancestry-redis took 127.0.0.1:6393 in the meantime, so docker could not publish p0dcasters-redis and the daemon-restart step failed. Move to 6394; drop a duplicated REDIS_URL line in the unit. Co-Authored-By: Claude Opus 5.5 --- deploy/p0dcasters-daemon.service | 3 +-- deploy/redis.sh | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/deploy/p0dcasters-daemon.service b/deploy/p0dcasters-daemon.service index 680b4ec..1723347 100644 --- a/deploy/p0dcasters-daemon.service +++ b/deploy/p0dcasters-daemon.service @@ -14,8 +14,7 @@ WorkingDirectory=/home/anthony/www/p0dcasters.com/app ExecStart=/home/anthony/.local/share/mise/shims/bun scripts/daemon.mjs Environment=HOME=/home/anthony # The daemon's BullMQ queue: this site's own Redis (deploy/redis.sh). -Environment=REDIS_URL=redis://127.0.0.1:6393 -Environment=REDIS_URL=redis://127.0.0.1:6393 +Environment=REDIS_URL=redis://127.0.0.1:6394 Environment=PATH=/home/anthony/.local/share/mise/shims:/home/anthony/.local/bin:/usr/local/bin:/usr/bin:/bin Restart=always RestartSec=30 diff --git a/deploy/redis.sh b/deploy/redis.sh index 733c7e6..e614b53 100755 --- a/deploy/redis.sh +++ b/deploy/redis.sh @@ -3,10 +3,10 @@ # (@profullstack/scraper-daemon). One Redis per site, as the fleet does: # redis:8-alpine, loopback only, AOF on, noeviction (BullMQ requires it), its own # volume. Idempotent: creates the container once, leaves a running one alone. -# The daemon unit sets REDIS_URL=redis://127.0.0.1:6393. +# The daemon unit sets REDIS_URL=redis://127.0.0.1:6394. set -eu NAME=p0dcasters-redis -PORT=6393 +PORT=6394 if docker inspect "$NAME" >/dev/null 2>&1; then [ "$(docker inspect -f '{{.State.Running}}' "$NAME")" = true ] || docker start "$NAME" >/dev/null else