A tool for tailing the firehose and matching images against known perceptual hashes, and then labeling them.
1services:
2 phash:
3 build: .
4 container_name: skywatch-phash
5 volumes:
6 - ./cursor.txt:/app/cursor.txt
7 env_file:
8 - .env
9 environment:
10 # Override Redis URL for internal Docker networking
11 REDIS_URL: redis://redis:6379
12 NODE_ENV: production
13 depends_on:
14 redis:
15 condition: service_healthy
16 restart: unless-stopped
17 networks:
18 - phash-network
19
20 redis:
21 image: redis:7-alpine
22 container_name: skywatch-phash-redis
23 command: redis-server --appendonly yes
24 volumes:
25 - redis-data:/data
26 healthcheck:
27 test: ["CMD", "redis-cli", "ping"]
28 interval: 5s
29 timeout: 3s
30 retries: 5
31 restart: unless-stopped
32 networks:
33 - phash-network
34
35volumes:
36 redis-data:
37 driver: local
38
39networks:
40 phash-network:
41 driver: bridge