Python Redis Client increments just a counter every 5 seconds. Requires IP:PORT. No Authentication
10K+
Set REDIS_HOST and REDIS_PORT.
e.g. docker run --env REDIS_HOST=10.23.45.178 --env REDIS_PORT=6379 menthosdocker123/redis-client:latest
FROM python:3.8-alpine
ENV PYTHONPATH="/"
ADD requirements.txt requirements.txt
RUN apk add --no-cache --virtual .build-deps openrc build-base
RUN pip install --no-cache-dir -r requirements.tx
ADD . /
CMD [ "python", "./redis-demo.py" ]
the redis-demo.py file can be seen when logging into the docker container with docker exec -ti container-name /bin/sh
Content type
Image
Digest
Size
76.8 MB
Last updated
over 6 years ago
docker pull menthosdocker123/redis-client