Feat: data persistence in shared volume

implemented a template to enable data persistence even with a shared volume across containers
This commit is contained in:
2026-04-20 11:39:35 +02:00
parent 11330e6b89
commit a9f9c834be
8 changed files with 113 additions and 18633 deletions
+6 -3
View File
@@ -4,9 +4,9 @@ services:
ports:
- 5540:5540
redis:
image: redis:8.6.1
image: golyalpha/redis:8.6.1
build: ./build
command: ["/conf/redis.conf"]
command: ["/conf/redis.conf.tmpl"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1m30s
@@ -15,7 +15,7 @@ services:
start_period: 30s
volumes:
- ./conf:/conf:ro
- /data
- redis_data:/data
expose:
- 6379
- 16379
@@ -38,3 +38,6 @@ services:
userns_mode: keep-id
volumes:
- ./notebooks:/home/jovyan
volumes:
redis_data: