2026-03-24 06:57:33 +01:00
|
|
|
services:
|
|
|
|
|
redisinsight:
|
|
|
|
|
image: redis/redisinsight
|
|
|
|
|
ports:
|
|
|
|
|
- 5540:5540
|
|
|
|
|
redis:
|
2026-04-20 11:39:35 +02:00
|
|
|
image: golyalpha/redis:8.6.1
|
2026-03-24 06:57:33 +01:00
|
|
|
build: ./build
|
2026-04-20 11:39:35 +02:00
|
|
|
command: ["/conf/redis.conf.tmpl"]
|
2026-03-24 06:57:33 +01:00
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
|
|
|
interval: 1m30s
|
|
|
|
|
timeout: 30s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 30s
|
|
|
|
|
volumes:
|
|
|
|
|
- ./conf:/conf:ro
|
2026-04-20 11:39:35 +02:00
|
|
|
- redis_data:/data
|
2026-03-24 06:57:33 +01:00
|
|
|
expose:
|
|
|
|
|
- 6379
|
|
|
|
|
- 16379
|
|
|
|
|
deploy:
|
|
|
|
|
mode: replicated
|
|
|
|
|
endpoint_mode: dnsrr
|
|
|
|
|
replicas: 9
|
|
|
|
|
clustersetup:
|
|
|
|
|
image: redis:8.6.1
|
|
|
|
|
volumes:
|
|
|
|
|
- ./scripts/cluster-init.sh:/cluster-init.sh
|
|
|
|
|
entrypoint: /cluster-init.sh
|
|
|
|
|
depends_on:
|
|
|
|
|
redis:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
notebooks:
|
|
|
|
|
image: quay.io/jupyter/scipy-notebook:python-3.13
|
|
|
|
|
ports:
|
|
|
|
|
- 8888:8888
|
|
|
|
|
userns_mode: keep-id
|
|
|
|
|
volumes:
|
|
|
|
|
- ./notebooks:/home/jovyan
|
2026-04-20 11:39:35 +02:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
redis_data:
|