Files
soroban-abacus-flashcards/nas-deployment/docker-compose.redis.yaml
Thomas Hallock 442d5218d0 infra: add dedicated Redis compose file for compose-updater
Redis was getting removed during blue/green deployments because it was
only defined in the main docker-compose.yaml which isn't managed by
compose-updater.

Now Redis has its own compose file with:
- compose-watcher labels so compose-updater manages it
- Independent lifecycle from blue/green deployments
- Persistent volume for data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 20:49:22 -06:00

28 lines
606 B
YAML

version: "3.8"
services:
redis:
image: redis:7-alpine
container_name: abaci-redis
restart: unless-stopped
volumes:
- redis-data:/data
networks:
- webgateway
command: redis-server --appendonly yes
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 3
labels:
docker-compose-watcher.watch: "1"
docker-compose-watcher.dir: /volume1/homes/antialias/projects/abaci.one
docker-compose-watcher.file: docker-compose.redis.yaml
volumes:
redis-data:
networks:
webgateway:
external: true