feat: Update redis deployment to run redis with password if REDIS_PASSWORD is configured

This commit is contained in:
y5n
2024-09-07 16:00:32 +08:00
parent 7685853d8a
commit 1ea9131e63
3 changed files with 26 additions and 1 deletions
@@ -1,6 +1,15 @@
# Install Firecrawl on a Kubernetes Cluster (Simple Version)
# Before installing
1. Set [secret.yaml](secret.yaml) and [configmap.yaml](configmap.yaml) and do not check in secrets
Here's the modified markdown with the statement you requested:
- **Note**: If `REDIS_PASSWORD` is configured in the secret, please modify the ConfigMap to reflect the following format for `REDIS_URL` and `REDIS_RATE_LIMIT_URL`:
```yaml
REDIS_URL: "redis://:password@host:port"
REDIS_RATE_LIMIT_URL: "redis://:password@host:port"
```
Replace `password`, `host`, and `port` with the appropriate values.
2. Build Docker images, and host it in your Docker Registry (replace the target registry with your own)
1. API (which is also used as a worker image)
1. ```bash