Snippets Collections
FROM node:10.23.0-alpine3.10

RUN apk update && \
mkdir -p /app && chmod 0775 /app && \
rm -rf /var/lib/apt/lists/

#install nodemon 
RUN npm install -g nodemon --unsafe-perm=true --allow-root

#Aggiunta degli applicativi
RUN apk --no-cache add redis dcron procps

COPY entrypoint-dev.sh /entrypoint.sh

CMD ["/entrypoint.sh"]
from redis.sentinel import Sentinel
sentinel = Sentinel([
    ('192.168.77.130',26379),
    ('192.168.77.130',26380),
    ('192.168.77.130',26381),
],sentinel_kwargs={'password': '123456'}) 

sentinel.discover_master('lerep')
star

Mon Oct 17 2022 14:30:59 GMT+0000 (Coordinated Universal Time) https://kuchbhilearning.blogspot.com/2022/09/replication-redis-cluster-mode-disabled.html

#aws-cdk #aws #cdk #redis #cluster
star

Tue Oct 04 2022 11:23:39 GMT+0000 (Coordinated Universal Time) https://kuchbhilearning.blogspot.com/2022/09/creating-redis-cluster-enabled-using.html

#aws #aws-cdk #redis #elasticache
star

Wed Nov 17 2021 13:19:30 GMT+0000 (Coordinated Universal Time)

#nodejs #redis #nodemon
star

Fri Aug 14 2020 06:51:37 GMT+0000 (Coordinated Universal Time) https://github.com/andymccurdy/redis-py/issues/1256

#redis #python #sentinel

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension