Spaces:
Sleeping
Sleeping
| services: | |
| redis: | |
| image: redis:7-alpine | |
| container_name: gridops_redis | |
| ports: | |
| - "6379:6379" | |
| volumes: | |
| - redis_data:/data | |
| command: > | |
| redis-server | |
| --appendonly yes | |
| --maxmemory 256mb | |
| --maxmemory-policy allkeys-lru | |
| healthcheck: | |
| test: ["CMD", "redis-cli", "ping"] | |
| interval: 10s | |
| timeout: 5s | |
| retries: 5 | |
| flower: | |
| image: mher/flower:2.0 | |
| container_name: gridops_flower | |
| command: celery --broker=redis://redis:6379/0 flower --port=5555 | |
| ports: | |
| - "5555:5555" | |
| depends_on: | |
| redis: | |
| condition: service_healthy | |
| volumes: | |
| redis_data: |