hosting/redis-tls/README.md
This setup starts a local Redis instance that requires:
rediss://)It is intended for reproducing Budibase Redis connection issues locally.
chmod +x hosting/redis-tls/generate-certs.sh
./hosting/redis-tls/generate-certs.sh
docker compose -f hosting/docker-compose.redis-tls.yaml up -d
Optional custom credentials:
REDIS_TLS_USERNAME=aaa REDIS_TLS_PASSWORD=bbb REDIS_TLS_PORT=6381 docker compose -f hosting/docker-compose.redis-tls.yaml up -d
Update your local .env:
REDIS_URL=rediss://localhost:6381
REDIS_USERNAME=aaa
REDIS_PASSWORD=bbb
Use the real Redis CLI inside the container:
docker exec -it budi-redis-tls-dev redis-cli --tls --cacert /certs/ca.crt -h localhost -p 6379 --user aaa -a bbb ping
Expected result:
PONG
docker compose -f hosting/docker-compose.redis-tls.yaml down -v