services: phash: build: . container_name: skywatch-phash volumes: - ./cursor.txt:/app/cursor.txt env_file: - .env environment: # Override Redis URL for internal Docker networking REDIS_URL: redis://redis:6379 NODE_ENV: production depends_on: redis: condition: service_healthy restart: unless-stopped networks: - phash-network redis: image: redis:7-alpine container_name: skywatch-phash-redis command: redis-server --appendonly yes volumes: - redis-data:/data healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 5 restart: unless-stopped networks: - phash-network volumes: redis-data: driver: local networks: phash-network: driver: bridge