fxa/_scripts/redis.sh
dschom 1e455ec9c8
task(ci): Remove redis dev password from source
Because:
- We are cleaning up stray password even those just used for dev

This Commit:
- Removes the dev password, fxa123, from source
2023-11-03 14:24:07 -07:00

10 lines
219 B
Bash
Executable File

#!/bin/bash -ex
if [ -z "$REDIS_PASSWORD" ]; then
REQUIREPASS_ARG="";
else
REQUIREPASS_ARG="--requirepass $REDIS_PASSWORD";
fi
docker run --rm --name redis-server --net fxa -p 6379:6379 redis $REQUIREPASS_ARG