Previous deploy.sh only started services listed in BUILD_TARGETS, so the newly-added redis service never came up after the SP-1 commit pushed to NAS. Split image-based infra (redis) into INFRA_SERVICES and call 'docker compose up -d $INFRA_SERVICES' after the BUILD_TARGETS rebuild. stop/rm is intentionally skipped for INFRA_SERVICES so AOF data (/runtime/redis-data) survives each deploy cycle. Future infra services (prometheus, grafana, ...) can join the same list. Also add redis to HEALTH_ENDPOINTS so deployer's docker-inspect health check waits for redis to report healthy before declaring DEPLOY_OK. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5.0 KiB
5.0 KiB