formatting

pull/19/head
Marcus Pöhls 2023-08-15 09:54:42 +02:00
parent 507b06bee8
commit 557d48f3e4
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ fi
DOCKER_RUN_ARGS="--name $REDIS_CONTAINER_NAME --publish $REDIS_PORT:6379 --detach $REDIS_IMAGE:$REDIS_VERSION" DOCKER_RUN_ARGS="--name $REDIS_CONTAINER_NAME --publish $REDIS_PORT:6379 --detach $REDIS_IMAGE:$REDIS_VERSION"
if [ -n "$REDIS_PASSWORD" ] ; then if [ -n "$REDIS_PASSWORD" ]; then
DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS redis-server --requirepass $REDIS_PASSWORD" DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS redis-server --requirepass $REDIS_PASSWORD"
fi fi
if [ "$REDIS_REMOVE_CONTAINER" == "true" ] ; then if [ "$REDIS_REMOVE_CONTAINER" == "true" ]; then
DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS --rm" DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS --rm"
fi fi