Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 472 Bytes

File metadata and controls

21 lines (19 loc) · 472 Bytes
  • We can use something like this inside <settings.py>
BANJO_UTILS_CONFIG = {
    "WAIT_FOR_RESOURCES": {
        "ALIAS": {
            "dev": ["db", "redis", "minio"],
            "alpha": ["db", "redis", "minio"],
            "stage": ["db", "redis"],
        }
    }
}
- Check if we can define enum for db, redis, minio
- If not we need to add post checks
OR
- ./manage.py wait-for-resources --db --redis --minio
- maybe use health_check integrations