Spaces:
Sleeping
Sleeping
| # =========================================== | |
| # Alpha Sentiment Engine β Docker Compose | |
| # =========================================== | |
| # This starts Redis (our message queue) in a Docker container. | |
| # | |
| # Think of it as: "Install the order board on the kitchen wall" | |
| # | |
| # HOW TO USE: | |
| # docker-compose up -d β start Redis (runs in background) | |
| # docker-compose ps β check it's running | |
| # docker-compose down β stop Redis | |
| # =========================================== | |
| services: | |
| redis: | |
| image: redis:7-alpine # lightweight Redis image | |
| container_name: alpha_redis # easy-to-remember name | |
| ports: | |
| - "6379:6379" # expose Redis on localhost:6379 | |
| volumes: | |
| - redis_data:/data # keep data between restarts | |
| volumes: | |
| redis_data: | |